-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
49 lines (48 loc) · 1.19 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
const { colors } = require('@resir014/chungking-core');
/* eslint-disable global-require */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./layouts/**/*.{js,ts,jsx,tsx}',
'./lib/**/*.{js,ts,jsx,tsx}',
'./modules/**/*.{js,ts,jsx,tsx}',
],
presets: [require('@resir014/tailwind-preset-chungking')],
theme: {
extend: {
typography: theme => ({
DEFAULT: {
css: [
{
maxWidth: 'unset',
h1: {
fontWeight: 600,
},
h2: {
fontWeight: 600,
},
},
],
},
chungking: {
css: {
'--tw-prose-links': theme('colors.chungking-turquoise.500'),
'--tw-prose-invert-links': theme('colors.chungking-turquoise.400'),
},
},
}),
colors: {
gray: colors.grey,
},
boxShadow: {
'hero-inner': `inset 0 0 230px 0 ${colors.black}`,
'header-inset': `inset 0 -1px ${colors.grey[800]}`,
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/typography')],
};