-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathtailwind.config.js
57 lines (56 loc) · 1.37 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/**.{tsx,ts}'],
presets: [require('nativewind/preset')],
theme: {
minWidth: {
10: '10px',
},
fontSize: {
xxxs: '8px',
xxs: '11px',
xs: '12px',
sm: '14px',
base: '16px',
lg: '18px',
xl: '19px',
'2xl': '20px',
'3xl': '22px',
'4xl': '26px',
'5xl': '42px',
'6xl': '52px',
'7xl': '62px',
'8xl': '128px',
},
extend: {
borderRadius: {
xs: '1px',
corner: '7px',
xl: '14px',
},
spacing: {
25: '108px',
26: '112px',
},
colors: {
darkWindowBorder: '#CCCCCC22',
lightWindowBorder: '#FFFFFF',
lightHighlight: 'rgba(0, 0, 0, .1)',
darkHighlight: 'rgba(255, 255, 255, .07)',
darkBorder: 'rgba(255, 255, 255, .1)',
lightBorder: 'rgba(0, 0, 0, .1)',
subBgDark: '#00000020',
subBgLight: '#FFFFFF77',
inputLight: '#00000010',
inputDark: '#00000050',
'accent-strong': 'rgb(var(--color-accent) / .65)',
accent: 'rgb(var(--color-accent) / .25)',
'accent-dark': 'rgb(var(--color-accent) / .14)',
},
},
},
plugins: [
// Set a default value on the `:root` element
({addBase}) => addBase({':root': {'--color-accent': '255 0 0'}}),
],
}