chore: 主题色添加一个amber

This commit is contained in:
lzh
2025-12-19 09:26:53 +08:00
parent f6b2d8b82f
commit ececf4cdae
4 changed files with 10 additions and 6 deletions

View File

@@ -109,9 +109,9 @@ const defaultPreferences: Preferences = {
wheelable: true,
},
theme: {
builtinType: 'default',
builtinType: 'amber',
colorDestructive: 'hsl(348 100% 61%)',
colorPrimary: 'hsl(212 100% 45%)',
colorPrimary: 'hsl(37 100% 52%)',
colorSuccess: 'hsl(144 57% 58%)',
colorWarning: 'hsl(42 84% 61%)',
mode: 'dark',

View File

@@ -8,6 +8,10 @@ interface BuiltinThemePreset {
}
const BUILT_IN_THEME_PRESETS: BuiltinThemePreset[] = [
{
color: 'hsl(37 100% 52%)',
type: 'amber',
},
{
color: 'hsl(212 100% 45%)',
type: 'default',
@@ -112,7 +116,7 @@ const DEFAULT_TIME_ZONE_OPTIONS: TimezoneOption[] = [
},
];
export const COLOR_PRESETS = [...BUILT_IN_THEME_PRESETS].slice(0, 7);
export const COLOR_PRESETS = [...BUILT_IN_THEME_PRESETS].slice(0, 8);
export { BUILT_IN_THEME_PRESETS, DEFAULT_TIME_ZONE_OPTIONS };