-
Notifications
You must be signed in to change notification settings - Fork 0
/
windi.config.ts
42 lines (41 loc) · 1.02 KB
/
windi.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 { resolve } from "path";
import { mergeWindicssConfig, defineConfig } from "vite-plugin-windicss";
import BaseConfig from "@slidev/client/windi.config";
// extend the base config
export default mergeWindicssConfig(
BaseConfig,
defineConfig({
extract: {
include: [resolve(__dirname, "**/*.{vue,ts}")],
},
shortcuts: {
"bg-main": "bg-white text-[#181818] dark:(bg-[#121212] text-[#ddd])",
},
theme: {
extend: {
colors: {
black: "#000000",
petrol: "#062a30",
white: "#ffffff",
"euri-green": "#00ff00",
"accent-green": {
50: "#bffcb5",
100: "#00ff00",
200: "#5cc73b",
300: "#3cbc26",
400: "#215212",
500: "#213324",
},
"accent-blue": {
50: "#a3e0f2",
100: "#52abc7",
200: "#387d91",
300: "#295c6e",
400: "#1c3d4a",
500: "#01262e",
},
},
},
},
})
);