2023-07-24 23:46:18 +03:00
|
|
|
import type { Config } from "tailwindcss";
|
|
|
|
import typography from "@tailwindcss/typography";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
content: ["./src/**/*.{js,jsx,ts,tsx}"],
|
2023-07-25 12:17:45 +03:00
|
|
|
darkMode: ['class', '[data-theme="dark"]'],
|
2023-07-24 23:46:18 +03:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
accent: "var(--accent)",
|
|
|
|
base: "var(--base)",
|
|
|
|
primary: "var(--primary)",
|
|
|
|
secondary: "var(--secondary)",
|
|
|
|
tertiary: "var(--tertiary)",
|
|
|
|
mute: "var(--mute)",
|
|
|
|
primaryInv: "var(--primaryInv)",
|
|
|
|
secondaryInv: "var(--secondaryInv)",
|
|
|
|
tertiaryInv: "var(--tertiaryInv)",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-07-25 12:17:45 +03:00
|
|
|
plugins: [typography(), require('tailwindcss-dark-mode')()],
|
2023-07-24 23:46:18 +03:00
|
|
|
} satisfies Config;
|