-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
43 lines (42 loc) · 1.15 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";
export default {
content: ["./app/**/*.{ts,tsx}"],
darkMode: ["selector", "class"],
theme: {
colors: {
transparent: colors.transparent,
inherit: colors.inherit,
current: colors.current,
inline: "var(--color-inline)",
black: colors.black,
white: colors.white,
accent: colors.green,
neutral: colors.neutral,
success: colors.green,
warning: colors.amber,
danger: colors.red,
info: colors.cyan,
},
extend: {
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
colors: {
sidebar: {
DEFAULT: "hsl(var(--sidebar-background))",
foreground: "hsl(var(--sidebar-foreground))",
primary: "hsl(var(--sidebar-primary))",
"primary-foreground": "hsl(var(--sidebar-primary-foreground))",
accent: "hsl(var(--sidebar-accent))",
"accent-foreground": "hsl(var(--sidebar-accent-foreground))",
border: "hsl(var(--sidebar-border))",
ring: "hsl(var(--sidebar-ring))",
},
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;