-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
112 lines (110 loc) · 2.4 KB
/
tailwind.config.js
File metadata and controls
112 lines (110 loc) · 2.4 KB
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
106
107
108
109
110
111
112
const {
colors: { transparent, current, black, white },
} = require('tailwindcss/defaultTheme');
const isDev = process.env.NODE_ENV === 'development';
module.exports = {
purge: { enabled: !isDev, content: ['./src/**/*.js', './assets/index.html'] },
theme: {
colors: {
transparent,
current,
black,
white,
gray: {
100: '#eeeeee',
200: '#cccccc',
300: '#999999',
400: '#666666',
500: '#333333',
},
blue: {
100: '#0099cc',
200: '#0e85ac',
},
red: {
100: '#cb6060',
200: '#af4848',
300: '#db4242',
},
yellow: {
100: '#feebc8',
200: '#f0d6a6',
},
green: {
400: '#4ec362',
},
},
extend: {
inset: {
'screen-h': '100vh',
'screen-w': '100vw',
'1/4': '25%',
},
screens: {
xs: '375px',
sm: '568px',
'2xl': '1920',
},
maxWidth: {
'1/4': '25%',
'1/2': '50%',
},
width: {
'7': '1.75rem',
'9': '2.25rem',
'11': '2.75rem',
'13': '3.25rem',
'15': '3.75rem',
'screen-h': '100vh',
},
minHeight: {
'8': '2rem',
},
height: {
'7': '1.75rem',
'9': '2.25rem',
'11': '2.75rem',
'13': '3.25rem',
'15': '3.75rem',
'screen-w': '100vw',
'1/10': '10%',
'1/5': '20%',
'3/4': '75%',
'7/10': '70%',
'8/10': '80%',
'15/100': '15%',
},
opacity: {
'60': '0.6',
},
backgroundSize: {
'3': '0.75rem',
},
boxShadow: {
'outline-sm': '0 0 0 2px rgba(66, 153, 225, 0.5)',
'outline-sm-gray': '0 0 0 2px rgba(102, 102, 102, 0.5)',
'outline-sm-blue': '0 0 0 2px rgba(0, 153, 204, 0.5)',
'outline-sm-red': '0 0 0 2px rgba(203, 96, 96, 0.5)',
'b-r': '1px 2px 3px rgba(0, 0, 0, 0.25)',
},
padding: {
'9': '2.25rem',
},
borderRadius: {
xl: '0.75rem',
},
translate: {
'1/4': '25%',
},
transitionDuration: {
'900': '900ms',
},
},
},
variants: {
borderWidth: ['responsive', 'first', 'last'],
borderRadius: ['responsive', 'first', 'last'],
backgroundColor: ['responsive', 'hover', 'focus', 'disabled'],
},
plugins: [],
};