-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
59 lines (58 loc) · 1.34 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
50
51
52
53
54
55
56
57
58
59
const plugin = require('tailwindcss/plugin')
const colors = require('tailwindcss/colors')
module.exports = {
purge: [],
content: [
'./app/**/*.{css,xml,html,vue,svelte,ts,tsx}'
],
darkMode: false,
theme: {
fontSize: {
xs: ['12', '3'],
sm: ['14', '4'],
md: ['16', '5'],
lg: ['18', '6'],
xl: ['22', '6'],
'2xl': ['24', '10'],
'3xl': ['26', '10']
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
gray: colors.blueGray,
page:'#F3F5Fd',
yellow: {
'200': '#FDE68A',
'300': '#FCD34D',
'400': '#FBBF24',
DEFAULT: '#FFDF85',
'600': '#D97706',
'700': '#B45309',
'800': '#92400E',
'900': '#78350F'
},
orange: {DEFAULT:'#FF9D33'},
dark: '#3F3F3F'
},
},
},
variants: {
extend: {
backgroundColor: ['highlighted'],
textColor: ['highlighted'],
},
},
plugins: [
plugin(function({ addVariant, e }) {
addVariant('highlighted', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.${e(`highlighted${separator}${className}`)}:highlighted`
})
})
})
],
corePlugins: {
preflight: false // disables browser-specific resets
}
}