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

export const midnight: ThemeDefinition = {
  meta: {
    id: 'midnight',
    name: '午夜深蓝',
    description: '深邃冷调的默认暗色主题',
    appearance: 'dark',
    preview: ['#0f172a', '#3b82f6', '#60a5fa', '#14b8a6'],
  },
  tokens: {
    ...SHARED_TOKENS,
    'primary':            '#3b82f6',
    'primary-foreground': '#ffffff',
    'primary-hover':      '#60a5fa',
    'primary-muted':      'rgba(59,130,246,0.12)',
    'accent':             '#14b8a6',
    'accent-foreground':  '#ffffff',
    'background':         '#0f172a',
    'foreground':         '#e2e8f0',
    'surface':            '#1e293b',
    'surface-foreground': '#e2e8f0',
    'surface-raised':     '#334155',
    'surface-overlay':    'rgba(30,41,59,0.95)',
    'chat-user':          'rgba(59,130,246,0.15)',
    'chat-user-foreground': '#bfdbfe',
    'chat-bot':           '#1e293b',
    'chat-bot-foreground': '#e2e8f0',
    'text-primary':       '#f1f5f9',
    'text-secondary':     '#94a3b8',
    'text-muted':         '#64748b',
    'border':             'rgba(51,65,85,0.6)',
    'border-subtle':      'rgba(51,65,85,0.3)',
    'input-border':       'rgba(51,65,85,0.6)',
    'scroll-thumb':       '#475569',
    'scroll-thumb-hover': '#64748b',
    'gradient-1':         'rgba(59,130,246,0.08)',
    'gradient-2':         'rgba(20,184,166,0.06)',
    'gray-1':  '#f8fafc',
    'gray-2':  '#e2e8f0',
    'gray-3':  '#cbd5e1',
    'gray-4':  '#94a3b8',
    'gray-5':  '#64748b',
    'gray-6':  '#475569',
    'gray-7':  '#334155',
    'gray-8':  '#1e293b',
    'gray-9':  '#0f172a',
    'gray-10': '#0b1120',
    'gray-11': '#060a14',
  },
};
