/**
 * 现代风格主题色预设
 */

export interface ThemeColorSet {
  name: string
  primary: string
  primaryLight3: string
  primaryLight5: string
  primaryLight7: string
  primaryLight9: string
  primaryDark2: string
}

export const themeColorPresets: Record<string, ThemeColorSet> = {
  indigo: {
    name: '靛蓝',
    primary: '#6366f1',
    primaryLight3: '#818cf8',
    primaryLight5: '#a5b4fc',
    primaryLight7: '#c7d2fe',
    primaryLight9: '#e0e7ff',
    primaryDark2: '#4f46e5'
  },
  violet: {
    name: '紫罗兰',
    primary: '#8b5cf6',
    primaryLight3: '#a78bfa',
    primaryLight5: '#c4b5fd',
    primaryLight7: '#ddd6fe',
    primaryLight9: '#ede9fe',
    primaryDark2: '#7c3aed'
  },
  cyan: {
    name: '青色',
    primary: '#06b6d4',
    primaryLight3: '#22d3ee',
    primaryLight5: '#67e8f9',
    primaryLight7: '#a5f3fc',
    primaryLight9: '#cffafe',
    primaryDark2: '#0891b2'
  },
  rose: {
    name: '玫红',
    primary: '#f43f5e',
    primaryLight3: '#fb7185',
    primaryLight5: '#fda4af',
    primaryLight7: '#fecdd3',
    primaryLight9: '#ffe4e6',
    primaryDark2: '#e11d48'
  },
  emerald: {
    name: '翠绿',
    primary: '#10b981',
    primaryLight3: '#34d399',
    primaryLight5: '#6ee7b7',
    primaryLight7: '#a7f3d0',
    primaryLight9: '#d1fae5',
    primaryDark2: '#059669'
  },
  amber: {
    name: '琥珀',
    primary: '#f59e0b',
    primaryLight3: '#fbbf24',
    primaryLight5: '#fcd34d',
    primaryLight7: '#fde68a',
    primaryLight9: '#fef3c7',
    primaryDark2: '#d97706'
  }
}

export type ThemeColorKey = keyof typeof themeColorPresets

export const defaultThemeColor: ThemeColorKey = 'indigo'
