/** @type {import('tailwindcss').Config} */ module.exports = { content: [ "./index.html", "./src/**/*.{js,ts,jsx,tsx}", ], darkMode: ['class', '[data-mantine-color-scheme="dark"]'], theme: { extend: { // Use standard Tailwind color system with CSS variables for theme switching colors: { // Override gray to work with both themes gray: { 50: 'rgb(var(--gray-50) / )', 100: 'rgb(var(--gray-100) / )', 200: 'rgb(var(--gray-200) / )', 300: 'rgb(var(--gray-300) / )', 400: 'rgb(var(--gray-400) / )', 500: 'rgb(var(--gray-500) / )', 600: 'rgb(var(--gray-600) / )', 700: 'rgb(var(--gray-700) / )', 800: 'rgb(var(--gray-800) / )', 900: 'rgb(var(--gray-900) / )', }, // Custom semantic colors for app-specific usage surface: 'rgb(var(--surface) / )', background: 'rgb(var(--background) / )', border: 'rgb(var(--border) / )', }, // Z-index scale zIndex: { 'dropdown': '1000', 'sticky': '1020', 'fixed': '1030', 'modal-backdrop': '1040', 'modal': '1050', 'popover': '1060', 'tooltip': '1070', }, }, }, plugins: [], // Enable preflight for standard Tailwind functionality corePlugins: { preflight: true, }, }