feat(editor): allow customizing active line and editor UI colors
This commit is contained in:
1 parent
951f0a21a0
commit
252f8a0d1f
19 files changed
+204
-9
No files matched your search
@@ -769,8 +769,25 @@ export interface CustomThemeColors {
|
||||
builtin: string;
|
||||
background?: string;
|
||||
foreground?: string;
|
||||
activeLine?: string;
|
||||
selection?: string;
|
||||
cursor?: string;
|
||||
gutterBackground?: string;
|
||||
lineNumber?: string;
|
||||
matchingBracket?: string;
|
||||
}
|
||||
|
||||
export const DEFAULT_CUSTOM_THEME_OPTIONAL_COLORS: Partial<Record<keyof CustomThemeColors, string>> = {
|
||||
background: "#1e1e2e",
|
||||
foreground: "#cdd6f4",
|
||||
activeLine: "#313244",
|
||||
selection: "#313244",
|
||||
cursor: "#f5e0dc",
|
||||
gutterBackground: "#181825",
|
||||
lineNumber: "#6c7086",
|
||||
matchingBracket: "#45475a",
|
||||
};
|
||||
|
||||
export const DEFAULT_CUSTOM_THEME_COLORS: CustomThemeColors = {
|
||||
keyword: "#cba6f7",
|
||||
field: "#f9e2af",
|
||||
|
||||
Reference in new issue
Block a user