-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
39 lines (37 loc) · 970 Bytes
/
tailwind.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
import { defineConfig } from "vite-plugin-windicss"
import defaultTheme from "windicss/defaultTheme"
const { sans, mono } = defaultTheme.fontFamily
export default defineConfig({
darkMode: "class",
theme: {
fontFamily: {
...defaultTheme.fontFamily,
DEFAULT: ["ManropeVariable"],
sans: ["ManropeVariable", ...sans],
mono: ['"Roboto Mono"', ...mono],
},
extend: {
colors: {
dark: "var(--clr-dark)",
"md-dark": "var(--clr-md-dark)",
light: "var(--clr-light)",
"md-light": "var(--clr-md-light)",
accent: "var(--clr-accent)",
error: "var(--clr-error)",
},
transitionTimingFunction: {
"ease-in-out-hard": "var(--ease-in-out-hard)",
},
height: {
nav: "var(--nav-height)",
},
inset: {
half: "50%",
},
spacing: {
half: "50%",
},
},
},
plugins: [require("windicss/plugin/aspect-ratio")],
})