import { SHARED_TOKENS } from '../tokens/shared';
import type { ThemeDefinition } from './types';

export const dawn: ThemeDefinition = {
  meta: {
    id: 'dawn',
    name: '晨光蓝白',
    description: '明亮通透的蓝白色默认主题，清爽舒适',
    appearance: 'light',
    preview: ['#f8fafc', '#3b82f6', '#60a5fa', '#14b8a6'],
  },
  tokens: {
    ...SHARED_TOKENS,
    'primary':            '#3b82f6',
    'primary-foreground': '#ffffff',
    'primary-hover':      '#2563eb',
    'primary-muted':      'rgba(59,130,246,0.08)',
    'accent':             '#14b8a6',
    'accent-foreground':  '#ffffff',
    'background':         '#f8fafc',
    'foreground':         '#0f172a',
    'surface':            '#ffffff',
    'surface-foreground': '#0f172a',
    'surface-raised':     '#f1f5f9',
    'surface-overlay':    'rgba(241,245,249,0.92)',
    'chat-user':          '#dbeafe',
    'chat-user-foreground': '#1e3a8a',
    'chat-bot':           '#f1f5f9',
    'chat-bot-foreground': '#0f172a',
    'text-primary':       '#0f172a',
    'text-secondary':     '#475569',
    'text-muted':         '#64748b',
    'border':             'rgba(203,213,225,0.6)',
    'border-subtle':      'rgba(203,213,225,0.3)',
    'input-border':       'rgba(203,213,225,0.6)',
    'scroll-thumb':       '#94a3b8',
    'scroll-thumb-hover': '#64748b',
    'gradient-1':         'rgba(59,130,246,0.06)',
    'gradient-2':         'rgba(20,184,166,0.04)',
    'gray-1':  '#f8fafc',
    'gray-2':  '#f1f5f9',
    'gray-3':  '#dfe5ee',
    'gray-4':  '#b8c4d4',
    'gray-5':  '#8896a8',
    'gray-6':  '#6b7a8c',
    'gray-7':  '#586678',
    'gray-8':  '#475569',
    'gray-9':  '#334155',
    'gray-10': '#1e293b',
    'gray-11': '#0f172a',
  },
};
