cms/tailwind.config.js

44 lines
1018 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
// Custom brand palette — use @apply bg-brand-500 etc. in CSS safely
colors: {
brand: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
DEFAULT: '#3b82f6',
},
surface: {
DEFAULT: '#ffffff',
dark: '#0f172a',
},
},
// Fluid type scale
fontSize: {
'2xs': ['0.625rem', { lineHeight: '1rem' }],
},
// Consistent spacing tokens
spacing: {
'18': '4.5rem',
'88': '22rem',
'128': '32rem',
},
},
},
plugins: [],
}