Adopts shadcn/ui components (Dialog, Button, Input, Select, Popover, Command, Checkbox, Switch, Toggle, Calendar, etc.) across the app, replacing hand-rolled modals, dropdowns, and form controls. Adds a reusable cmdk-backed MultiSelect for the Type, Tags, and Flag filters so all multi-value filter popovers share one component and layout. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
65 lines
2.3 KiB
JavaScript
65 lines
2.3 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
// Desert dusk palette — warm, slightly indigo darks pulled from
|
|
// the TopBar sunset gradient. Dark enough that photo content
|
|
// stays the visual focus, but no longer the cool neutral greys
|
|
// we started with.
|
|
bg: '#1a1424', // deep dusk indigo (was near-black)
|
|
surface: '#221c2f', // panel base
|
|
'surface-2': '#2a2339', // raised panels / hover
|
|
'surface-offset': '#352c46', // chips, inputs
|
|
border: 'rgba(240, 193, 136, 0.10)', // warm sand tint, low alpha
|
|
text: '#f0e6d2', // warm cream
|
|
'text-muted': '#a8997d', // sandy beige
|
|
'text-faint': '#5e5448', // dark sand
|
|
primary: '#e8965a', // sunset orange — pulled from horizon
|
|
pick: '#8aaa5a', // sage / cactus green
|
|
reject: '#d06464', // warmer red
|
|
star: '#f0c188', // pale amber matching horizon
|
|
},
|
|
fontFamily: {
|
|
sans: ['Geist', 'system-ui', 'sans-serif'],
|
|
mono: ['Geist Mono', 'monospace'],
|
|
},
|
|
animation: {
|
|
'fade-in': 'fadeIn 0.2s ease-in-out',
|
|
'slide-up': 'slideUp 0.3s ease-out',
|
|
'shimmer': 'shimmer 2s infinite linear',
|
|
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
},
|
|
keyframes: {
|
|
fadeIn: {
|
|
'0%': { opacity: '0' },
|
|
'100%': { opacity: '1' },
|
|
},
|
|
slideUp: {
|
|
'0%': { transform: 'translateY(20px)', opacity: '0' },
|
|
'100%': { transform: 'translateY(0)', opacity: '1' },
|
|
},
|
|
shimmer: {
|
|
'0%': { backgroundPosition: '-200% 0' },
|
|
'100%': { backgroundPosition: '200% 0' },
|
|
},
|
|
// Used by shadcn Accordion / Collapsible.
|
|
'accordion-down': {
|
|
from: { height: '0' },
|
|
to: { height: 'var(--radix-accordion-content-height)' },
|
|
},
|
|
'accordion-up': {
|
|
from: { height: 'var(--radix-accordion-content-height)' },
|
|
to: { height: '0' },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [require('tailwindcss-animate')],
|
|
} |