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

export const nord: ThemeDefinition = {
  meta: {
    id: 'nord',
    name: 'Nord 极光',
    description: '受 Nord 配色启发的极光暗色主题',
    appearance: 'dark',
    preview: ['#2e3440', '#88c0d0', '#81a1c1', '#5e81ac'],
  },
  tokens: {
    ...SHARED_TOKENS,
    'destructive':        '#bf616a',
    'success':            '#a3be8c',
    'warning':            '#ebcb8b',
    'primary':            '#88c0d0',
    'primary-foreground': '#2e3440',
    'primary-hover':      '#8fbcbb',
    'primary-muted':      'rgba(136,192,208,0.12)',
    'accent':             '#81a1c1',
    'accent-foreground':  '#2e3440',
    'background':         '#2e3440',
    'foreground':         '#eceff4',
    'surface':            '#3b4252',
    'surface-foreground': '#eceff4',
    'surface-raised':     '#434c5e',
    'surface-overlay':    'rgba(59,66,82,0.95)',
    'chat-user':          'rgba(136,192,208,0.15)',
    'chat-user-foreground': '#e5e9f0',
    'chat-bot':           '#3b4252',
    'chat-bot-foreground': '#eceff4',
    'text-primary':       '#eceff4',
    'text-secondary':     '#d8dee9',
    'text-muted':         '#81a1c1',
    'border':             'rgba(67,76,94,0.7)',
    'border-subtle':      'rgba(67,76,94,0.35)',
    'input-border':       'rgba(67,76,94,0.7)',
    'scroll-thumb':       '#4c566a',
    'scroll-thumb-hover': '#81a1c1',
    'gradient-1':         'rgba(136,192,208,0.08)',
    'gradient-2':         'rgba(129,161,193,0.06)',
    'gray-1':  '#eceff4',
    'gray-2':  '#e5e9f0',
    'gray-3':  '#d8dee9',
    'gray-4':  '#b0bec5',
    'gray-5':  '#81a1c1',
    'gray-6':  '#5e81ac',
    'gray-7':  '#4c566a',
    'gray-8':  '#434c5e',
    'gray-9':  '#3b4252',
    'gray-10': '#2e3440',
    'gray-11': '#242933',
  },
};
