Temp: import themes from tuna

This commit is contained in:
2025-11-13 18:01:46 +01:00
parent 1b35c4ccc1
commit 1dc540582d
44 changed files with 1473 additions and 630 deletions

View File

@ -1,9 +1,8 @@
import { writable } from 'svelte/store';
import type { ThemeName } from '$lib/themes';
const STORAGE_KEY = 'editorSettings';
export type Theme = 'dark' | 'light';
export interface EditorSettings {
fontSize: number;
fontFamily: string;
@ -12,7 +11,7 @@ export interface EditorSettings {
tabSize: number;
vimMode: boolean;
enableHoverTooltips: boolean;
theme: Theme;
theme: ThemeName;
}
const defaultSettings: EditorSettings = {
@ -23,7 +22,7 @@ const defaultSettings: EditorSettings = {
tabSize: 2,
vimMode: false,
enableHoverTooltips: true,
theme: 'dark'
theme: 'monodark'
};
export interface EditorSettingsStore {