/** @type {import("tailwindcss").Config} */ module.exports = { darkMode: ["class", "[data-appearance=\"dark\"]"], content: [ "./index.html", "./src-web/**/*.{html,js,jsx,ts,tsx}" ], theme: { extend: {}, fontFamily: { "mono": ["JetBrains Mono", "Menlo", "monospace"], "sans": ["Inter", "sans-serif"], }, fontSize: { sm: "0.9rem", base: "1rem", xl: "1.25rem", "2xl": "1.563rem", "3xl": "1.953rem", "4xl": "2.441rem", "5xl": "3.052rem" }, colors: { transparent: "transparent", white: "hsl(0 100% 100% / )", black: "hsl(0 100% 0% / )", placeholder: "hsl(var(--color-gray-400) / )", red: color("red"), orange: color("orange"), yellow: color("yellow"), gray: color("gray"), blue: color("blue"), green: color("green"), pink: color("pink"), violet: color("violet") } }, plugins: [] }; function color(name) { return { 0: `hsl(var(--color-${name}-0) / )`, 50: `hsl(var(--color-${name}-50) / )`, 100: `hsl(var(--color-${name}-100) / )`, 200: `hsl(var(--color-${name}-200) / )`, 300: `hsl(var(--color-${name}-300) / )`, 400: `hsl(var(--color-${name}-400) / )`, 500: `hsl(var(--color-${name}-500) / )`, 600: `hsl(var(--color-${name}-600) / )`, 700: `hsl(var(--color-${name}-700) / )`, 800: `hsl(var(--color-${name}-800) / )`, 900: `hsl(var(--color-${name}-900) / )`, 950: `hsl(var(--color-${name}-950) / )`, 1000: `hsl(var(--color-${name}-1000) / )` }; }