-
Notifications
You must be signed in to change notification settings - Fork 1
/
uno.config.ts
51 lines (50 loc) · 1.07 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
// uno.config.ts
import {
defineConfig,
presetIcons,
presetUno,
presetWebFonts,
transformerDirectives,
} from "unocss";
import transformerVariantGroup from "@unocss/transformer-variant-group";
import { presetScrollbar } from "unocss-preset-scrollbar";
export default defineConfig({
transformers: [transformerDirectives(), transformerVariantGroup()],
presets: [
presetUno(),
presetWebFonts({
provider: "google",
fonts: {
title: [
{
name: "Changa One",
italic: true,
},
{
name: "Overpass",
provider: "none",
},
{
name: "Roboto",
provider: "none",
},
{
name: "'Helvetica Neue'",
provider: "none",
},
{
name: "sans-serif",
provider: "none",
},
],
},
}),
presetIcons({
extraProperties: {
display: "inline-block",
"vertical-align": "middle",
},
}),
presetScrollbar({}),
],
});