-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
84 lines (83 loc) · 2.08 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
const colors = require('tailwindcss/colors')
module.exports = {
darkMode: 'class',
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
theme: {
extend: {
colors: {
black: {
light: '#e9e9e9',
100: '#D6D6D6',
200: '#ADADAD',
300: '#848484',
400: '#5B5B5B',
500: '#333333',
600: '#282828',
700: '#1E1E1E',
800: '#191919',
900: '#0A0A0A'
},
gray: {
150: colors.coolGray[200]
}
},
backgroundColor: {
'primary-100': 'var(--bg-light-color)',
'primary-900': 'var(--bg-dark-color)',
primary: 'var(--bg-color)'
},
textColor: {
'primary-100': 'var(--fg-light-color)',
primary: 'var(--fg-color)'
},
fill: (theme) => ({
white: colors.white,
gray400: theme('colors.gray.400'),
gray600: theme('colors.gray.600'),
gray800: theme('colors.gray.800'),
black: {
light: '#e9e9e9',
100: '#CCCCCC',
200: '#B2B2B2',
300: '#999999',
400: '#7F7F7F',
500: '#666666',
600: '#4C4C4C',
700: '#333333',
800: '#191919',
900: '#060707'
}
}),
stroke: (theme) => ({
white: colors.white,
gray400: theme('colors.gray.400'),
gray600: theme('colors.gray.600'),
gray800: theme('colors.gray.800'),
black: {
light: '#e9e9e9',
100: '#CCCCCC',
200: '#B2B2B2',
300: '#999999',
400: '#7F7F7F',
500: '#666666',
600: '#4C4C4C',
700: '#333333',
800: '#191919',
900: '#060707'
}
}),
fontFamily: {
sans: ['Poppins', 'sans-serif'],
mono: ['FiraCode', 'monospace']
}
}
},
variants: {
extend: {
fill: ['hover', 'focus', 'group-focus', 'group-hover'],
stroke: ['hover', 'focus', 'group-focus', 'group-hover'],
backgroundOpacity: ['dark']
}
},
plugins: []
}