import typography from "@tailwindcss/typography"; import type { Config } from "tailwindcss"; import { fontFamily } from "tailwindcss/defaultTheme"; export default { content: ["./src/**/*.{html,js,svelte,ts,md}"], theme: { container: { center: true, padding: "2rem", }, extend: { colors: { border: "rgb(var(--border) / )", input: "rgb(var(--input) / )", ring: "rgb(var(--ring) / )", background: "rgb(var(--background) / )", foreground: "rgb(var(--foreground) / )", primary: { DEFAULT: "rgb(var(--primary) / )", foreground: "rgb(var(--primary-foreground) / )", }, secondary: { DEFAULT: "rgb(var(--secondary) / )", foreground: "rgb(var(--secondary-foreground) / )", }, destructive: { DEFAULT: "rgb(var(--destructive) / )", foreground: "rgb(var(--destructive-foreground) / )", }, muted: { DEFAULT: "rgb(var(--muted) / )", foreground: "rgb(var(--muted-foreground) / )", }, accent: { DEFAULT: "rgb(var(--accent) / )", foreground: "rgb(var(--accent-foreground) / )", }, popover: { DEFAULT: "rgb(var(--popover) / )", foreground: "rgb(var(--popover-foreground) / )", }, card: { DEFAULT: "rgb(var(--card) / )", foreground: "rgb(var(--card-foreground) / )", }, }, fontFamily: { sans: ["Zen Kaku Gothic New", ...fontFamily.sans], display: ["Poiret One"], }, animation: { blink: "blink 0.6s ease both", "fade-in": "fade-in 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both", }, keyframes: { blink: { "0%,50%,to": { opacity: "1", }, "25%,75%": { opacity: "0", }, }, "fade-in": { "0%": { opacity: "0", }, to: { opacity: "1", }, }, }, typography: () => ({ DEFAULT: { css: { "--tw-prose-body": "rgb(var(--foreground))", "--tw-prose-headings": "rgb(var(--foreground))", "--tw-prose-lead": "rgb(var(--accent))", "--tw-prose-links": "rgb(var(--primary))", "--tw-prose-bold": "rgb(var(--foreground))", "--tw-prose-counters": "rgb(var(--primary))", "--tw-prose-bullets": "rgb(var(--primary))", "--tw-prose-hr": "rgb(var(--muted))", "--tw-prose-quotes": "rgb(var(--foreground) / 0.75)", "--tw-prose-quote-borders": "rgb(var(--foreground) / 0.75)", "--tw-prose-captions": "rgb(var(--muted))", "--tw-prose-th-borders": "transparent", "--tw-prose-td-borders": "rgb(var(--primary))", "code::before": { content: '""', }, "code::after": { content: '""', }, "blockquote p:first-of-type::before": { content: "none" }, "blockquote p:first-of-type::after": { content: "none" }, code: { "font-weight": 400, }, }, }, light: { css: { h1: { fontWeight: "400" }, h2: { fontWeight: "400" }, h3: { fontWeight: "400" }, h4: { fontWeight: "400" }, }, }, }), }, }, plugins: [typography], } satisfies Config;