-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
26 lines (24 loc) · 847 Bytes
/
tailwind.config.ts
File metadata and controls
26 lines (24 loc) · 847 Bytes
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
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class", // Enable dark mode based on user's system preference
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: "rgb(var(--color-primary) / <alpha-value>)",
secondary: "rgb(var(--color-secondary) / <alpha-value>)",
accent: "rgb(var(--color-accent) / <alpha-value>)",
background: "rgb(var(--color-background) / <alpha-value>)",
card: "rgb(var(--color-card) / <alpha-value>)",
"text": "rgb(var(--color-text) / <alpha-value>)",
"text-muted": "rgb(var(--color-text-muted) / <alpha-value>)",
},
},
},
plugins: [],
};
export default config;