Skip to content

Commit 7111022

Browse files
Fix node text highlight color on light theme (#2195)
1 parent daee073 commit 7111022

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/assets/palettes/dark.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"NODE_SELECTED_TITLE_COLOR": "#FFF",
2828
"NODE_TEXT_SIZE": 14,
2929
"NODE_TEXT_COLOR": "#AAA",
30+
"NODE_TEXT_HIGHLIGHT_COLOR": "#FFF",
3031
"NODE_SUBTEXT_SIZE": 12,
3132
"NODE_DEFAULT_COLOR": "#333",
3233
"NODE_DEFAULT_BGCOLOR": "#353535",

src/assets/palettes/light.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"NODE_SELECTED_TITLE_COLOR": "#000",
2929
"NODE_TEXT_SIZE": 14,
3030
"NODE_TEXT_COLOR": "#444",
31+
"NODE_TEXT_HIGHLIGHT_COLOR": "#1e293b",
3132
"NODE_SUBTEXT_SIZE": 12,
3233
"NODE_DEFAULT_COLOR": "#F7F7F7",
3334
"NODE_DEFAULT_BGCOLOR": "#F5F5F5",

src/types/colorPaletteTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const litegraphBaseSchema = z.object({
2727
NODE_SELECTED_TITLE_COLOR: z.string(),
2828
NODE_TEXT_SIZE: z.number(),
2929
NODE_TEXT_COLOR: z.string(),
30+
NODE_TEXT_HIGHLIGHT_COLOR: z.string(),
3031
NODE_SUBTEXT_SIZE: z.number(),
3132
NODE_DEFAULT_COLOR: z.string(),
3233
NODE_DEFAULT_BGCOLOR: z.string(),

0 commit comments

Comments
 (0)