blob: 6d7ccf567844ca0d893fd438269f6ed19d660015 [file] [log] [blame]
Sean McCulloughbf66a2f2025-06-23 21:53:55 -07001/** @type {import('tailwindcss').Config} */
2export default {
bankseanae3724e2025-07-18 16:52:37 +00003 content: ["./src/**/*.{js,ts,jsx,tsx,html}", "./src/test-theme.html"],
4 darkMode: "selector", // Enable class-based dark mode
bankseand5c849d2025-06-26 15:48:31 +00005 plugins: ["@tailwindcss/container-queries"],
Sean McCulloughb3795922025-06-27 01:59:41 +00006 theme: {
7 extend: {
bankseanae3724e2025-07-18 16:52:37 +00008 // Custom colors for better dark mode support
9 colors: {
10 // Define semantic color tokens
11 surface: {
12 DEFAULT: "#ffffff",
13 dark: "#1f2937",
14 },
15 "surface-secondary": {
16 DEFAULT: "#f9fafb",
17 dark: "#374151",
18 },
19 },
Sean McCulloughb3795922025-06-27 01:59:41 +000020 animation: {
21 "fade-in": "fadeIn 0.3s ease-in-out",
22 },
23 keyframes: {
24 fadeIn: {
25 "0%": {
26 opacity: "0",
27 transform: "translateX(-50%) translateY(10px)",
28 },
29 "100%": {
30 opacity: "1",
31 transform: "translateX(-50%) translateY(0)",
32 },
33 },
34 },
35 },
36 },
Sean McCulloughbf66a2f2025-06-23 21:53:55 -070037};