-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind-preset.js
62 lines (62 loc) · 1.38 KB
/
tailwind-preset.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
// const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
colors: {
white: {
DEFAULT: '#fff',
85: 'rgba(255,255,255,.85)',
65: 'rgba(255,255,255,.65)',
45: 'rgba(255,255,255,.45)',
25: 'rgba(255,255,255,.25)',
15: 'rgba(255,255,255,.15)',
6: 'rgba(255,255,255,.06)',
4: 'rgba(255,255,255,.04)',
},
black: {
DEFAULT: '#000',
85: 'rgba(0,0,0,.85)',
65: 'rgba(0,0,0,.65)',
45: 'rgba(0,0,0,.45)',
25: 'rgba(0,0,0,.25)',
15: 'rgba(0,0,0,.15)',
6: 'rgba(0,0,0,.06)',
4: 'rgba(0,0,0,.04)',
},
gray: {
1: '#ffffff',
2: '#fafafa',
3: '#f6f6f6',
4: '#f0f0f0',
5: '#d9d9d9',
6: '#bfbfbf',
7: '#8c8c8c',
8: '#595959',
9: '#434343',
10: '#262626',
11: '#1f1f1f',
12: '#181818',
13: '#141414',
14: '#000000',
},
},
height: {
13: '3.125rem',
},
width: {
13: '3.125rem',
},
padding: {
13: '3.125rem',
},
zIndex: {
60: '60',
70: '70',
80: '80',
90: '90',
100: '100',
},
},
},
}