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

export const classicDark: ThemeDefinition = {
  meta: {
    id: 'classic-dark',
    name: '经典深色',
    description: '原生默认深色主题，纯净近黑',
    appearance: 'dark',
    preview: ['#0F1117', '#3B82F6', '#60A5FA', '#8B8FA3'],
  },
  tokens: {
    ...SHARED_TOKENS,
    'primary':            '#3B82F6',
    'primary-foreground': '#ffffff',
    'primary-hover':      '#60A5FA',
    'primary-muted':      'rgba(59,130,246,0.12)',
    'accent':             '#3B82F6',
    'accent-foreground':  '#ffffff',
    'background':         '#0F1117',
    'foreground':         '#E4E5E9',
    'surface':            '#1A1D27',
    'surface-foreground': '#E4E5E9',
    'surface-raised':     '#242830',
    'surface-overlay':    'rgba(26,29,39,0.95)',
    'chat-user':          'rgba(59,130,246,0.15)',
    'chat-user-foreground': '#BFDBFE',
    'chat-bot':           '#1A1D27',
    'chat-bot-foreground': '#E4E5E9',
    'text-primary':       '#E4E5E9',
    'text-secondary':     '#8B8FA3',
    'text-muted':         '#6B7280',
    'border':             'rgba(42,46,56,0.6)',
    'border-subtle':      'rgba(42,46,56,0.3)',
    'input-border':       'rgba(42,46,56,0.6)',
    'scroll-thumb':       '#374151',
    'scroll-thumb-hover': '#4B5563',
    'gradient-1':         'rgba(59,130,246,0.08)',
    'gradient-2':         'rgba(59,130,246,0.04)',
    'gray-1':  '#E4E5E9',
    'gray-2':  '#C9CBD0',
    'gray-3':  '#8B8FA3',
    'gray-4':  '#5A5F70',
    'gray-5':  '#3A3F4B',
    'gray-6':  '#2A2E38',
    'gray-7':  '#242830',
    'gray-8':  '#1A1D27',
    'gray-9':  '#151820',
    'gray-10': '#0F1117',
    'gray-11': '#0C0E14',
  },
};
