This repository has been archived by the owner on Oct 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
windi.config.js
76 lines (76 loc) · 2.09 KB
/
windi.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import {defineConfig} from 'windicss/helpers'
export default defineConfig({
attributify: {
prefix: 'w-'
},
darkMode: 'class',
extract: {
include: ['./index.html', './src/**/*.vue']
},
plugins: [require('@windicss/plugin-scrollbar'), require('windicss/plugin/aspect-ratio')],
theme: {
boxShadow: {
shallow: '0 1px 10px 0 hsla(210, 7%, 22%, .06), 0 2px 4px 0 hsla(210, 7%, 22%, .08)'
},
colors: {
black: 'var(--black)',
code: 'var(--code)',
current: 'currentColor',
hover: 'var(--hover)',
none: 'none',
overlay: 'var(--overlay)',
page: 'var(--page)',
white: 'var(--white)',
blue100: 'var(--blue100)',
blue200: 'var(--blue200)',
blue300: 'var(--blue300)',
blue400: 'var(--blue400)',
blue500: 'var(--blue500)',
gold100: 'var(--gold100)',
gold200: 'var(--gold200)',
gold300: 'var(--gold300)',
gold400: 'var(--gold400)',
gold500: 'var(--gold500)',
gray100: 'var(--gray100)',
gray200: 'var(--gray200)',
gray300: 'var(--gray300)',
gray400: 'var(--gray400)',
gray500: 'var(--gray500)',
gray600: 'var(--gray600)',
gray700: 'var(--gray700)',
purple100: 'var(--purple100)',
purple200: 'var(--purple200)',
purple300: 'var(--purple300)',
purple400: 'var(--purple400)',
purple500: 'var(--purple500)',
red100: 'var(--red100)',
red200: 'var(--red200)',
red300: 'var(--red300)',
red400: 'var(--red400)',
red500: 'var(--red500)',
teal100: 'var(--teal100)',
teal200: 'var(--teal200)',
teal300: 'var(--teal300)',
teal400: 'var(--teal400)',
teal500: 'var(--teal500)'
},
extend: {
height: {
fit: 'fit-content'
},
screens: {
xs: '480px'
},
width: {
cardTitle: 'calc(100% - (7.5rem + 0.75rem))',
file: 'calc(100% - 0.5rem)',
fit: 'fit-content',
gap2: 'calc(50% - 0.375rem)'
}
},
fontFamily: {
mono: ['Ubuntu mono', 'monospace'],
sans: ['Ubuntu', 'sans-serif']
}
}
})