More Themes
This commit is contained in:
@@ -5,8 +5,11 @@ import { type ThemeColorMap, defaultColorMap } from '$lib/components/tui/utils';
|
||||
// Import theme JSON files
|
||||
import archTheme from '$lib/assets/themes/arch.theme.json';
|
||||
import catppuccinTheme from '$lib/assets/themes/catppuccin.theme.json';
|
||||
import wintryTheme from '$lib/assets/themes/wintry.theme.json';
|
||||
import roseTheme from '$lib/assets/themes/rose.theme.json';
|
||||
import cerberusTheme from '$lib/assets/themes/cerberus.theme.json';
|
||||
|
||||
export type ColorTheme = 'arch' | 'catppuccin';
|
||||
export type ColorTheme = 'arch' | 'catppuccin' | 'wintry' | 'rose' | 'cerberus';
|
||||
export type Mode = 'dark' | 'light';
|
||||
|
||||
// Theme JSON structure
|
||||
@@ -42,7 +45,10 @@ export interface ThemeColors {
|
||||
// Load themes from JSON files
|
||||
const themes: Record<ColorTheme, ThemeJson> = {
|
||||
arch: archTheme as ThemeJson,
|
||||
catppuccin: catppuccinTheme as ThemeJson
|
||||
catppuccin: catppuccinTheme as ThemeJson,
|
||||
wintry: wintryTheme as ThemeJson,
|
||||
rose: roseTheme as ThemeJson,
|
||||
cerberus: cerberusTheme as ThemeJson
|
||||
};
|
||||
|
||||
// Export themes for external access
|
||||
|
||||
Reference in New Issue
Block a user