-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts
45 lines (44 loc) · 1.15 KB
/
vite.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
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import VueI18nPlugin from "@intlify/unplugin-vue-i18n/vite";
import Unocss from "unocss/vite";
import presetUno from "@unocss/preset-uno";
import presetMini from "unocss/preset-mini";
import presetWebFonts from "@unocss/preset-web-fonts";
import presetAttributify from "@unocss/preset-attributify";
import { presetTypography } from "unocss";
export default defineConfig({
plugins: [
vue({ reactivityTransform: true }),
VueI18nPlugin({}),
Unocss({
theme: {
colors: {
light: "#FFF7F8",
green: "#00FF87",
blue: "#60EFFF",
gray: "#404545",
graySd: "#19201F",
dark: "#000807",
darkGray: "#BFBABA",
darkGraySd: "#E6DFE0",
},
},
presets: [
presetUno(),
presetMini(),
presetTypography({
selectorName: "markdown",
}),
presetWebFonts({
provider: "google",
fonts: {
poppins: "Poppins",
ptserif: "PT Serif",
},
}),
presetAttributify(),
],
}),
],
});