-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
windi.config.ts
44 lines (42 loc) · 1.23 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
43
44
import { defineConfig } from "windicss/helpers"
import defaultTheme from "windicss/defaultTheme"
/* Plugins */
import lineClamp from "windicss/plugin/line-clamp"
import typography from "windicss/plugin/typography"
export default defineConfig({
darkMode: "class",
theme: {
extend: {
colors: {
neutral: {
50: "#fafafa",
100: "#f5f5f5",
200: "#e5e5e5",
300: "#d4d4d4",
400: "#a3a3a3",
500: "#737373",
600: "#525252",
700: "#404040",
800: "#262626",
900: "#171717",
},
},
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
},
shortcuts: {
"responsive-screen": "max-w-screen-lg mx-auto px-6 md:px-0",
"focus-ring":
"ring-offset-2 light:(ring-offset-gray-50 ring-gray-300) focus:outline-none focus:ring-1 dark:focus:(ring-offset-neutral-900 ring-neutral-800)",
"card-base":
"border-[0.1px] p-4 bg-opacity-25 bg-neutral-100 hover:bg-neutral-200/40 border-neutral-200 dark:(bg-neutral-800/30 border-neutral-800 text-white/80 hover:text-white hover:bg-opacity-40) transition-colors ",
},
plugins: [
lineClamp,
typography({
dark: true,
}),
],
})