import type { Config } from 'tailwindcss' import defaultTheme from 'tailwindcss/defaultTheme' export default { darkMode: ['class'], content: ['./src/**/*.{html,js,jsx,md,mdx,ts,tsx}'], theme: { extend: { fontFamily: { sans: ['Inter', ...defaultTheme.fontFamily.sans], mono: ['Fira Code', ...defaultTheme.fontFamily.mono], logo: ['TASAOrbiterDisplay', ...defaultTheme.fontFamily.sans], }, colors: { background: 'var(--background)', foreground: { DEFAULT: 'var(--foreground)', contrast: 'var(--foreground-contrast)', }, primary: { DEFAULT: 'var(--primary)', foreground: 'var(--primary-foreground)', }, secondary: { DEFAULT: 'var(--secondary)', foreground: 'var(--secondary-foreground)', }, destructive: { DEFAULT: 'var(--destructive)', foreground: 'var(--destructive-foreground)', }, // muted: { // DEFAULT: 'var(--muted)', // foreground: 'var(--muted-foreground)', // }, accent: { DEFAULT: 'var(--accent)', foreground: 'var(--accent-foreground)', }, popover: { DEFAULT: 'var(--popover)', foreground: 'var(--popover-foreground)', }, card: { DEFAULT: 'var(--card)', foreground: 'var(--card-foreground)', }, border: 'var(--border)', input: 'var(--input)', ring: 'var(--ring)', radius: '0.25rem', value: 'var(--value)', // Converted hex values to hsl using https://codepen.io/SarahTheCoder/pen/JQxBoj gray: { 100: 'var(--gray-100)', 200: 'var(--gray-200)', 300: 'var(--gray-300)', 400: 'var(--gray-400)', 500: 'var(--gray-500)', 600: 'var(--gray-600)', 700: 'var(--gray-700)', 800: 'var(--gray-800)', 900: 'var(--gray-900)', }, green: { 100: 'var(--green-100)', 200: 'var(--green-200)', 300: 'var(--green-300)', 400: 'var(--green-400)', 500: 'var(--green-500)', 600: 'var(--green-600)', 700: 'var(--green-700)', 800: 'var(--green-800)', 900: 'var(--green-900)', }, orange: { 100: 'var(--orange-100)', 200: 'var(--orange-200)', 300: 'var(--orange-300)', 400: 'var(--orange-400)', 500: 'var(--orange-500)', 600: 'var(--orange-600)', 700: 'var(--orange-700)', 800: 'var(--orange-800)', 900: 'var(--orange-900)', }, red: { 100: 'var(--red-100)', 200: 'var(--red-200)', 300: 'var(--red-300)', 400: 'var(--red-400)', 500: 'var(--red-500)', 600: 'var(--red-600)', 700: 'var(--red-700)', 800: 'var(--red-800)', 900: 'var(--red-900)', }, yellow: { 100: 'var(--yellow-100)', 200: 'var(--yellow-200)', 300: 'var(--yellow-300)', 400: 'var(--yellow-400)', 500: 'var(--yellow-500)', 600: 'var(--yellow-600)', 700: 'var(--yellow-700)', 800: 'var(--yellow-800)', 900: 'var(--yellow-900)', }, blue: { 100: 'var(--blue-100)', 200: 'var(--blue-200)', 300: 'var(--blue-300)', 400: 'var(--blue-400)', 500: 'var(--blue-500)', 600: 'var(--blue-600)', 700: 'var(--blue-700)', 800: 'var(--blue-800)', 900: 'var(--blue-900)', }, }, screens: { sm: '480px', md: '768px', lg: '996px', xl: '1200px', }, containers: { sm: '480px', md: '768px', lg: '996px', xl: '1200px', }, fontSize: { xxs: '0.625rem', // 10px xs: '0.75rem', // 12px sm: '0.875rem', // 14px base: '1rem', // 16px lg: '1.125rem', // 18px xl: '1.25rem', // 20px '2xl': '1.5rem', // 24px '3xl': '1.75rem', // 28px '4xl': '2rem', // 32px '5xl': '2.5rem', // 40px }, }, }, plugins: [ require('tailwindcss-animate'), require('@tailwindcss/container-queries'), ], corePlugins: { preflight: false, container: false, }, important: true, } as const satisfies Config