generated from oddsdk/odd-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
127 lines (127 loc) · 3.33 KB
/
tailwind.config.cjs
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
module.exports = {
mode: 'jit',
content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: ['alert-success', 'alert-error', 'alert-info', 'alert-warning'],
plugins: [require('daisyui')],
darkMode: ['class', '[data-theme="dark"]'],
daisyui: {
styled: true,
themes: [
{
dark: {
primary: '#171717',
secondary: '#30aadd',
accent: '#00ffc6',
neutral: '#171717',
info: '#93c5fd',
success: '#BBF7D0',
warning: '#fdba74',
error: '#DC2626',
'base-content': '#FAFAFA', // Base text content color
'base-100': '#171717', // Base background color
'--rounded-box': '16px',
'--rounded-btn': '4px',
'--rounded-badge': '2px',
'--tab-radius': '2px',
'--btn-text-case': 'normal-case',
'--navbar-padding': '16px'
},
light: {
primary: '#FAFAFA',
secondary: '#30aadd',
accent: '#00ffc6',
neutral: '#171717',
info: '#bfdbfe',
success: '#BBF7D0',
warning: '#fed7aa',
error: '#DC2626',
'base-content': '#171717', // Base text content color
'base-100': '#FAFAFA', // Base background color
'--rounded-box': '16px',
'--rounded-btn': '4px',
'--rounded-badge': '2px',
'--tab-radius': '2px',
'--btn-text-case': 'normal-case',
'--navbar-padding': '16px'
}
}
],
base: true,
utils: true,
logs: true,
rtl: false,
darkTheme: 'dark'
},
theme: {
extend: {
animation: {
marquee: 'marquee 20s linear infinite'
},
aspectRatio: {
'22/23': '22 / 23'
},
boxShadow: {
orange: '0px 4px 0px rgba(243, 110, 101, 0.35)'
},
colors: {
blue: {
100: '#DBEAFE',
600: '#2563EB',
900: '#1E3A8A'
},
green: {
300: '#86EFAC',
500: '#22C55E',
700: '#15803D'
},
neutral: {
50: '#FAFAFA',
200: '#E5E5E5',
500: '#737373',
700: '#404040',
800: '#262626',
900: '#171717'
},
orange: {
50: '#FFF7ED',
200: '#FDBA74',
300: '#F26D64',
500: '#F36E65',
600: '#EED082',
700: '#C2410C'
},
red: {
400: '#F87171',
600: '#DC2626'
}
},
fontFamily: {
sans: ['UncutSans']
},
fontSize: {
mobileNav: ['24px', { lineHeight: '24px' }],
deviceCode: ['30px', { lineHeight: '36px' }],
xxs: ['12px', { lineHeight: '16px' }],
xs: ['13px', { lineHeight: '24px', letterSpacing: '0.1em' }],
sm: ['16px', { lineHeight: '24px' }],
base: ['20px', { lineHeight: '28px' }],
lg: ['24px', { lineHeight: '32px' }],
xl: ['38px', { lineHeight: '48px' }],
'2xl': ['50px', { lineHeight: '62px' }]
},
keyframes: {
marquee: {
'0%': { transform: 'translateX(102%)' },
'100%': { transform: 'translateX(-100vw)' }
}
},
width: {
narrowModal: '327px',
wideModal: '471px'
},
zIndex: {
max: '1000' // High enough to appear above the modal(999)
}
}
}
}