-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
43 lines (39 loc) · 1.2 KB
/
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
40
41
42
43
import type { Config } from "tailwindcss";
import colors from "tailwindcss/colors";
import typography from "@tailwindcss/typography";
import svelteUx from "svelte-ux/plugins/tailwind.cjs";
export default {
content: [
"./src/**/*.{html,js,svelte,ts}",
"./node_modules/svelte-ux/**/*.{svelte,js}",
"./node_modules/svhighlight/**/*.svelte",
],
theme: {
extend: {},
},
ux: {
themes: {
light: {
primary: colors["orange"]["500"],
"primary-content": "white",
secondary: colors["blue"]["500"],
"surface-100": "white",
"surface-200": colors["gray"]["100"],
"surface-300": colors["gray"]["300"],
"surface-content": colors["gray"]["900"],
"color-scheme": "light",
},
dark: {
primary: colors["orange"]["500"],
"primary-content": "white",
secondary: colors["blue"]["500"],
"surface-100": colors["zinc"]["800"],
"surface-200": colors["zinc"]["900"],
"surface-300": colors["zinc"]["950"],
"surface-content": colors["zinc"]["100"],
"color-scheme": "dark",
},
},
},
plugins: [svelteUx, typography],
} as Config;