-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
63 lines (62 loc) · 1.36 KB
/
uno.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
54
55
56
57
58
59
60
61
62
63
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerCompileClass,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
export default defineConfig({
theme: {
colors: {
violet: {
50: "#e5d3fe",
100: "#c8a1fc",
200: "#9548f9",
300: "#6207d9",
400: "#38047c",
500: "#0e011f",
600: "#0b0119",
700: "#090114",
800: "#07000f",
900: "#020005"
},
},
textShadow: {
'headline': '0px 0px 28px rgba(255, 255, 255, 0.45)',
},
},
presets: [
presetUno(),
presetAttributify(),
presetTypography(),
presetIcons({
scale: 1.2,
extraProperties: {
'display': 'inline-block',
'vertical-align': 'middle',
},
}),
presetWebFonts({
provider: 'none',
fonts: {
heading: 'Hubot Sans',
sans: 'Mona Sans',
mono: 'Noto Sans Mono',
},
}),
],
shortcuts: [
['heading', 'font-heading font-900 text-shadow-headline'],
['box', 'bg-violet-500 border border-violet-700 hover:border-violet-400 rounded-xl w-full h-36 flex items-center justify-center'],
['box-item', 'cursor-pointer'],
],
transformers: [
transformerVariantGroup(),
transformerDirectives(),
transformerCompileClass(),
],
})