Update editor, themes, menus, backgrounds, and release tooling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const CUSTOM_THEMES_KEY = "runestone.custom-themes";
|
||||
export const COLOR_TOKENS = ["bg", "bg-elevated", "bg-active", "border", "text", "text-dim", "text-strong", "accent", "accent-2", "selection", "error", "warn", "warn-hot", "ok", "special"] as const;
|
||||
export const COLOR_TOKENS = ["bg", "bg-elevated", "bg-active", "border", "text", "text-dim", "text-strong", "accent", "accent-2", "selection", "error", "warn", "warn-hot", "ok", "special", "syntax-parameter", "syntax-keyword", "syntax-local", "syntax-static", "syntax-instance", "syntax-global", "syntax-string", "syntax-number", "syntax-comment", "syntax-type", "syntax-function"] as const;
|
||||
export type ThemeColors = Partial<Record<typeof COLOR_TOKENS[number], string>>;
|
||||
export type CustomTheme = { schema: 1; id: string; name: string; light: ThemeColors; dark: ThemeColors };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user