Files
the-other-dude/frontend/tailwind.config.ts
Jason Staack f7108ba357 feat(ui): update Tailwind config for Warm Precision tokens
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 11:47:09 -05:00

68 lines
2.5 KiB
TypeScript

import type { Config } from 'tailwindcss'
const config: Config = {
darkMode: 'class',
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
sidebar: 'hsl(var(--sidebar))',
panel: 'hsl(var(--panel))',
elevated: 'hsl(var(--elevated))',
'border-subtle': 'hsl(var(--border-subtle))',
'border-default': 'hsl(var(--border-default))',
border: 'hsl(var(--border-default))',
'text-primary': 'hsl(var(--text-primary))',
'text-secondary': 'hsl(var(--text-secondary))',
'text-muted': 'hsl(var(--text-muted))',
'text-label': 'hsl(var(--text-label))',
accent: {
DEFAULT: 'hsl(var(--accent))',
soft: 'hsl(var(--accent-soft))',
},
'alert-badge': 'hsl(var(--alert-badge))',
card: { DEFAULT: 'hsl(var(--card))', foreground: 'hsl(var(--card-foreground))' },
popover: { DEFAULT: 'hsl(var(--popover))', foreground: 'hsl(var(--popover-foreground))' },
primary: { DEFAULT: 'hsl(var(--primary))', foreground: 'hsl(var(--primary-foreground))' },
secondary: { DEFAULT: 'hsl(var(--secondary))', foreground: 'hsl(var(--secondary-foreground))' },
muted: { DEFAULT: 'hsl(var(--muted))', foreground: 'hsl(var(--muted-foreground))' },
destructive: { DEFAULT: 'hsl(var(--destructive))', foreground: 'hsl(var(--text-primary))' },
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
online: 'hsl(var(--online))',
offline: 'hsl(var(--offline))',
unknown: 'hsl(var(--unknown))',
success: 'hsl(var(--success))',
warning: 'hsl(var(--warning))',
error: 'hsl(var(--error))',
info: 'hsl(var(--info))',
'chart-1': 'hsl(var(--chart-1))',
'chart-2': 'hsl(var(--chart-2))',
'chart-3': 'hsl(var(--chart-3))',
'chart-4': 'hsl(var(--chart-4))',
'chart-5': 'hsl(var(--chart-5))',
'chart-6': 'hsl(var(--chart-6))',
},
fontFamily: {
sans: ['Manrope', 'system-ui', '-apple-system', 'sans-serif'],
mono: ['IBM Plex Mono', 'ui-monospace', 'SFMono-Regular', 'monospace'],
},
borderRadius: {
sm: '0.0625rem',
DEFAULT: 'var(--radius)',
md: 'var(--radius-control)',
lg: 'var(--radius-control)',
xl: 'var(--radius-control)',
},
},
},
plugins: [],
}
export default config