refactor(web): router-based navigation, light theme, form config
- Replace Zustand activeView with React Router (NavLink + Routes) - White/light modern theme with indigo accents - Sidebar with Chinese labels under icons - ConfigForm with individual form fields (no JSON textareas) - Account switching with context injection into chat - Fix duplicate conversation creation with useRef guard - Asset gallery: smaller 6-column grid with date labels - All components updated to light color scheme Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -20,29 +20,29 @@ export default defineConfig({
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
border: 'hsl(240 3.7% 15.9%)',
|
||||
input: 'hsl(240 3.7% 15.9%)',
|
||||
ring: 'hsl(240 4.9% 83.9%)',
|
||||
background: 'hsl(240 10% 3.9%)',
|
||||
foreground: 'hsl(0 0% 98%)',
|
||||
border: 'hsl(240 5.9% 90%)',
|
||||
input: 'hsl(240 5.9% 90%)',
|
||||
ring: 'hsl(240 5% 64.9%)',
|
||||
background: 'hsl(0 0% 100%)',
|
||||
foreground: 'hsl(240 10% 3.9%)',
|
||||
primary: {
|
||||
DEFAULT: 'hsl(0 0% 98%)',
|
||||
foreground: 'hsl(240 5.9% 10%)',
|
||||
DEFAULT: 'hsl(240 5.9% 10%)',
|
||||
foreground: 'hsl(0 0% 98%)',
|
||||
},
|
||||
secondary: {
|
||||
DEFAULT: 'hsl(240 3.7% 15.9%)',
|
||||
foreground: 'hsl(0 0% 98%)',
|
||||
DEFAULT: 'hsl(240 4.8% 95.9%)',
|
||||
foreground: 'hsl(240 5.9% 10%)',
|
||||
},
|
||||
muted: {
|
||||
DEFAULT: 'hsl(240 3.7% 15.9%)',
|
||||
foreground: 'hsl(240 5% 64.9%)',
|
||||
DEFAULT: 'hsl(240 4.8% 95.9%)',
|
||||
foreground: 'hsl(240 3.8% 46.1%)',
|
||||
},
|
||||
accent: {
|
||||
DEFAULT: 'hsl(240 3.7% 15.9%)',
|
||||
foreground: 'hsl(0 0% 98%)',
|
||||
DEFAULT: 'hsl(240 4.8% 95.9%)',
|
||||
foreground: 'hsl(240 5.9% 10%)',
|
||||
},
|
||||
destructive: {
|
||||
DEFAULT: 'hsl(0 62.8% 30.6%)',
|
||||
DEFAULT: 'hsl(0 84.2% 60.2%)',
|
||||
foreground: 'hsl(0 0% 98%)',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user