Files
cms-gov/tailwind.config.js

113 lines
2.9 KiB
JavaScript
Raw Permalink Normal View History

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/Views/**/*.php",
"./app/Views/**/*.html",
"./assets/**/*.css",
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Outfit', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif'],
},
fontSize: {
'title-sm': ['30px', { lineHeight: '38px' }],
'title-md': ['36px', { lineHeight: '44px' }],
},
colors: {
brand: {
25: '#f2f7ff',
50: '#ecf3ff',
100: '#dde9ff',
200: '#c2d6ff',
300: '#9cb9ff',
400: '#7592ff',
500: '#465fff',
600: '#3641f5',
700: '#2a31d8',
800: '#252dae',
900: '#262e89',
950: '#161950',
},
error: {
50: '#fef2f2',
100: '#fee2e2',
200: '#fecaca',
300: '#fca5a5',
400: '#f87171',
500: '#ef4444',
600: '#dc2626',
700: '#b91c1c',
800: '#991b1b',
900: '#7f1d1d',
},
primary: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
success: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
},
warning: {
50: '#fffbeb',
100: '#fef3c7',
200: '#fde68a',
300: '#fcd34d',
400: '#fbbf24',
500: '#f59e0b',
600: '#d97706',
700: '#b45309',
800: '#92400e',
900: '#78350f',
},
purple: {
50: '#faf5ff',
100: '#f3e8ff',
200: '#e9d5ff',
300: '#d8b4fe',
400: '#c084fc',
500: '#a855f7',
600: '#9333ea',
700: '#7e22ce',
800: '#6b21a8',
900: '#581c87',
},
},
boxShadow: {
'theme-xs': '0px 1px 2px 0px rgba(16, 24, 40, 0.05)',
'theme-sm': '0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06)',
'theme-md': '0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06)',
'theme-lg': '0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03)',
},
},
},
plugins: [],
safelist: [
{
pattern: /^fe-/,
},
{
pattern: /^(bg|text|border|hover:bg)-error-(50|100|200|300|400|500|600|700|800|900)$/,
},
],
}