-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
105 lines (103 loc) · 2.53 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: {
enabled: process.env.NODE_ENV === 'production',
content: [
'src/**/*.css',
'src/**/*.js',
'src/**/*.ts',
'src/**/*.jsx',
'src/**/*.tsx',
],
},
theme: {
extend: {
colors: {
primary: {
100: '#feefcd',
200: '#fee3aa',
300: '#fdd681',
400: '#fdca5e',
500: '#fcbf3b',
600: '#f1a604',
700: '#b07903',
800: '#745002',
900: '#322301',
},
base: {
50: '#FCFCFC',
100: '#FAFAF9',
200: '#F2F2F0',
300: '#EAEAE7',
400: '#DADAD5',
500: '#CACAC3',
600: '#B6B6B0',
700: '#797975',
800: '#5B5B58',
900: '#3D3D3B',
},
},
fontFamily: {
header: [
'brandon-grotesque',
'Noto Sans JP',
defaultTheme.fontFamily.sans,
],
text: ['Noto Sans JP', defaultTheme.fontFamily.sans],
},
borderRadius: {
circle: '50%',
},
transitionDelay: {
'0': '0ms',
},
boxShadow: {
'blur-black': '0 0 2px 4px rgba(#000000)',
'blur-ivoly': '0 0 2px 4px rgba(#F2F2F0)',
},
},
},
variants: {
width: ['responsive', 'hover', 'group-hover'],
},
plugins: [
function({ addUtilities }) {
const newUtilities = {
'.text-shadow-black': {
textShadow: '0 0 1px rgba(#000, 0.25)',
},
'.text-shadow-md-black': {
textShadow: '0 0 2px rgba(#000, 0.25)',
},
'.text-shadow-lg-black': {
textShadow: '0 0 3px rgba(#000, 0.25)',
},
'.text-shadow-xl-black': {
textShadow: '0 0 4px rgba(#000, 0.25)',
},
'.text-shadow-2xl-black': {
textShadow: '0 0 5px rgba(#000, 0.25)',
},
'.text-shadow-ivoly': {
textShadow: '0 0 1px rgba(#F2F2F0, 0.25)',
},
'.text-shadow-md-ivoly': {
textShadow: '0 0 2px rgba(#F2F2F0, 0.25)',
},
'.text-shadow-lg-ivoly': {
textShadow: '0 0 3px rgba(#F2F2F0, 0.25)',
},
'.text-shadow-xl-ivoly': {
textShadow: '0 0 4px rgba(#F2F2F0, 0.25)',
},
'.text-shadow-2xl-ivoly': {
textShadow: '0 0 5px rgba(#F2F2F0, 0.25)',
},
'.text-shadow-none': {
textShadow: 'none',
},
};
addUtilities(newUtilities);
},
],
};