-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
38 lines (37 loc) · 891 Bytes
/
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
import {
defineConfig,
presetIcons,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
import presetAnimations from 'unocss-preset-animations'
export default defineConfig({
rules: [
["bg-primary", { 'background-color': "#3451b2" }],
["border-primary", { 'border': "1px solid #3451b2" }],
["color-primary", { 'color': "#3451b2" }],
["text-spacing", { 'letter-spacing': "2px" }],
["text-overflow-ellipsis", { "text-overflow": "ellipsis", "white-space": "nowrap", "overflow": "hidden" }],
],
presets: [
presetUno(),
presetIcons({
scale: 1.2,
warn: true,
unit: 'em',
}),
presetWebFonts({
provider: 'bunny',
fonts: {
sans: 'Inter',
},
}),
presetAnimations()
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
})