-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
42 lines (34 loc) · 966 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
39
40
41
42
import { defineConfig, presetUno } from "unocss";
import presetAnim from "unocss-preset-animations";
import extractSvelte from "@unocss/extractor-svelte";
import presetIcons from "@unocss/preset-icons";
import presetWebFonts from "@unocss/preset-web-fonts";
export default defineConfig({
presets: [
presetWebFonts({
provider: "fontsource",
fonts: {
ubuntu: "Ubuntu",
},
}),
presetIcons(),
presetAnim(),
presetUno(),
],
extractors: [extractSvelte()],
rules: [],
theme: {
colors: {
softwhite: "rgba(255, 255, 255, 0.2)",
},
},
content: {
filesystem: ["**/*.{html,js,ts,jsx,tsx,vue,svelte,astro}"],
pipeline: {
include: [
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
"(components|src)/**/*.{js,ts}",
],
},
},
});