All checks were successful
ci / build-test (push) Successful in 3m39s
text-faint #6b7280 on bg #060a13 measures ~4.06:1 contrast — under the 4.5:1 normal-text threshold — which fails Lighthouse's color-contrast audit and drops the accessibility score to 0.90 on /pricing and /privacy (the only pages currently using this token). #828b9b yields ~5.66:1, clears AA with margin, and stays visually distinct from text-muted (#9aa3b2, ~7.8:1) so the design hierarchy between text / text-muted / text-faint is preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
47 lines
1.2 KiB
JavaScript
47 lines
1.2 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
bg: {
|
|
DEFAULT: '#060a13',
|
|
elevated: '#0c111a',
|
|
},
|
|
border: {
|
|
DEFAULT: '#1e2535',
|
|
strong: '#2a3242',
|
|
},
|
|
accent: {
|
|
DEFAULT: '#f0b429',
|
|
muted: '#c89321',
|
|
},
|
|
cyan: {
|
|
DEFAULT: '#5cc8ff',
|
|
muted: '#3a9dd1',
|
|
},
|
|
rose: '#f43f5e',
|
|
green: '#10b981',
|
|
text: {
|
|
DEFAULT: '#e8eaed',
|
|
muted: '#9aa3b2',
|
|
faint: '#828b9b',
|
|
},
|
|
},
|
|
fontFamily: {
|
|
sans: ['"DM Sans"', 'system-ui', 'sans-serif'],
|
|
mono: ['"JetBrains Mono"', 'ui-monospace', 'SFMono-Regular', 'monospace'],
|
|
},
|
|
fontSize: {
|
|
'display': ['clamp(2.5rem, 5vw, 4.5rem)', { lineHeight: '1.05', letterSpacing: '-0.02em' }],
|
|
'hero': ['clamp(1.75rem, 3vw, 2.75rem)', { lineHeight: '1.15', letterSpacing: '-0.015em' }],
|
|
},
|
|
maxWidth: {
|
|
content: '72rem',
|
|
prose: '42rem',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|