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

export const daylight: ThemeDefinition = {
  meta: {
    id: 'daylight',
    name: '日光暖白',
    description: '温暖柔和的暖白色主题，轻松自然',
    appearance: 'light',
    preview: ['#fffbeb', '#f59e0b', '#fbbf24', '#f97316'],
  },
  tokens: {
    ...SHARED_TOKENS,
    'primary':            '#d97706',
    'primary-foreground': '#ffffff',
    'primary-hover':      '#b45309',
    'primary-muted':      'rgba(217,119,6,0.08)',
    'accent':             '#f97316',
    'accent-foreground':  '#ffffff',
    'background':         '#fffbeb',
    'foreground':         '#1c1917',
    'surface':            '#ffffff',
    'surface-foreground': '#1c1917',
    'surface-raised':     '#fef3c7',
    'surface-overlay':    'rgba(254,243,199,0.92)',
    'chat-user':          '#fde68a',
    'chat-user-foreground': '#78350f',
    'chat-bot':           '#fefce8',
    'chat-bot-foreground': '#1c1917',
    'text-primary':       '#1c1917',
    'text-secondary':     '#57534e',
    'text-muted':         '#78716c',
    'border':             'rgba(214,211,209,0.6)',
    'border-subtle':      'rgba(214,211,209,0.3)',
    'input-border':       'rgba(214,211,209,0.6)',
    'scroll-thumb':       '#a8a29e',
    'scroll-thumb-hover': '#78716c',
    'gradient-1':         'rgba(245,158,11,0.06)',
    'gradient-2':         'rgba(249,115,22,0.04)',
    'gray-1':  '#fafaf9',
    'gray-2':  '#f5f5f4',
    'gray-3':  '#e7e5e4',
    'gray-4':  '#d6d3d1',
    'gray-5':  '#a8a29e',
    'gray-6':  '#78716c',
    'gray-7':  '#57534e',
    'gray-8':  '#44403c',
    'gray-9':  '#292524',
    'gray-10': '#1c1917',
    'gray-11': '#0c0a09',
  },
};
