-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathunocss.config.ts
53 lines (46 loc) · 959 Bytes
/
unocss.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
52
53
import { colors } from '@rlanz/design-system/tokens';
import { defineConfig, presetUno, presetIcons, presetWebFonts, transformerDirectives } from 'unocss';
export default defineConfig({
theme: {
colors,
boxShadow: {
tiny: '2px 2px 0 #1e293b',
small: '4px 4px 0 #1e293b',
medium: '8px 8px 0 #1e293b',
large: '12px 12px 0 #1e293b',
},
borderRadius: {
ms: '0.25rem',
},
breakpoints: {
'xs': '375px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
},
presets: [
presetUno(),
presetWebFonts({
provider: 'bunny',
fonts: {
sans: ['Atkinson Hyperlegible'],
mono: [
{
name: 'mononoki',
provider: 'none',
},
],
},
}),
presetIcons({
cdn: 'https://esm.sh/',
}),
],
content: {
filesystem: ['./apps/romainlanz.com/inertia/**/*.vue', './packages/design-system/**/*.vue'],
},
transformers: [transformerDirectives()],
});