-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindi.config.ts
51 lines (48 loc) · 1.13 KB
/
windi.config.ts
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
import { defineConfig } from 'windicss/helpers'
export default defineConfig({
shortcuts: {
full: 'w-full h-full',
viewPx: 'px-[40px] <md:(px-[20px])',
viewPt: 'pt-[100px] <md:(pt-[70px])',
'w-fit': 'w-[fit-content]',
'h-fit': 'h-[fit-content]',
viewMax: 'max-w-[1440px]',
},
theme: {
extend: {
fontSize: {
pageTitle: '48px',
sectionTitle: '30px',
mPageTitle: '24px',
mSectionTitle: '20px',
sm: '12px',
sub: '14px',
normal: '16px',
md: '18px',
lg: '20px',
xl: '24px',
},
colors: {
'primary-bg': 'var(--primary-bg)',
'secondary-bg': 'var(--secondary-bg)',
primary: 'var(--primary)',
base: 'var(--base)',
'base-prime': 'var(--base-prime)',
danger: 'var(--danger)',
warning: 'var(--warning)',
action: 'var(--action)',
},
borderRadius: {
normal: '6px',
sub: '4px',
},
screens: {
desktop: '1280px',
laptop: '1024px',
tablet: '768px',
md: '640px',
small: '480px',
},
},
},
})