2024-02-08 13:23:54 -08:00
|
|
|
import typography from "@tailwindcss/typography";
|
2023-05-11 18:45:34 -07:00
|
|
|
import type { Config } from "tailwindcss";
|
|
|
|
|
|
|
|
export default {
|
2024-11-18 11:49:13 -08:00
|
|
|
corePlugins: {
|
|
|
|
preflight: false,
|
|
|
|
container: false,
|
|
|
|
},
|
2024-04-03 15:30:34 -07:00
|
|
|
content: ["./src/**/*.{js,jsx,ts,tsx,md,mdx}", "./docs/**/*.{md,mdx}"],
|
|
|
|
darkMode: ["class", '[data-theme="dark"]'],
|
2024-02-08 13:23:54 -08: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)",
|
|
|
|
},
|
2024-11-17 09:25:05 -08:00
|
|
|
typography: {
|
|
|
|
DEFAULT: {
|
|
|
|
css: {
|
|
|
|
"code::before": {
|
|
|
|
content: '""',
|
|
|
|
},
|
|
|
|
"code::after": {
|
|
|
|
content: '""',
|
|
|
|
},
|
|
|
|
blockquote: {
|
|
|
|
"p::before": {
|
|
|
|
content: "none",
|
|
|
|
},
|
|
|
|
"p::after": {
|
|
|
|
content: "none",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-02-08 13:23:54 -08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [typography()],
|
2023-05-11 18:45:34 -07:00
|
|
|
} satisfies Config;
|