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

export const paper: ThemeDefinition = {
  meta: {
    id: 'paper',
    name: '纸墨素白',
    description: '极简纸质感主题，专注阅读与书写',
    appearance: 'light',
    preview: ['#fafaf9', '#18181b', '#71717a', '#a1a1aa'],
  },
  tokens: {
    ...SHARED_TOKENS,
    'primary':            '#18181b',
    'primary-foreground': '#ffffff',
    'primary-hover':      '#27272a',
    'primary-muted':      'rgba(24,24,27,0.06)',
    'accent':             '#71717a',
    'accent-foreground':  '#ffffff',
    'background':         '#fafaf9',
    'foreground':         '#18181b',
    'surface':            '#ffffff',
    'surface-foreground': '#18181b',
    'surface-raised':     '#f4f4f5',
    'surface-overlay':    'rgba(244,244,245,0.92)',
    'chat-user':          '#e8e8ec',
    'chat-user-foreground': '#18181b',
    'chat-bot':           '#fafaf9',
    'chat-bot-foreground': '#18181b',
    'text-primary':       '#18181b',
    'text-secondary':     '#52525b',
    'text-muted':         '#71717a',
    'border':             'rgba(212,212,216,0.6)',
    'border-subtle':      'rgba(212,212,216,0.3)',
    'input-border':       'rgba(212,212,216,0.6)',
    'scroll-thumb':       '#a1a1aa',
    'scroll-thumb-hover': '#71717a',
    'gradient-1':         'rgba(24,24,27,0.03)',
    'gradient-2':         'rgba(113,113,122,0.03)',
    'gray-1':  '#fafafa',
    'gray-2':  '#f4f4f5',
    'gray-3':  '#e4e4e7',
    'gray-4':  '#d4d4d8',
    'gray-5':  '#a1a1aa',
    'gray-6':  '#71717a',
    'gray-7':  '#52525b',
    'gray-8':  '#3f3f46',
    'gray-9':  '#27272a',
    'gray-10': '#18181b',
    'gray-11': '#09090b',
  },
};
