meshtastic/tailwind.config.ts
rcarteraz b0277e0d7b
Some checks failed
CI / quality (push) Has been cancelled
CI / build (push) Has been cancelled
do tailwind overrides in the tailwind config
2024-11-17 10:25:05 -07:00

44 lines
1.1 KiB
TypeScript

import typography from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
export default {
content: ["./src/**/*.{js,jsx,ts,tsx,md,mdx}", "./docs/**/*.{md,mdx}"],
darkMode: ["class", '[data-theme="dark"]'],
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)",
},
typography: {
DEFAULT: {
css: {
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
blockquote: {
"p::before": {
content: "none",
},
"p::after": {
content: "none",
},
},
},
},
},
},
},
plugins: [typography()],
} satisfies Config;