From 93f5c03c920dffa33586d5590da11b71b270c6fd Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 17 Oct 2025 11:05:00 +0800 Subject: [PATCH] theme: Adjust tab bar color for `matrix` and remove `mandarin-square` theme. (#1394) --- themes/mandarin-square.json | 156 ------------------------------------ themes/matrix.json | 8 +- 2 files changed, 3 insertions(+), 161 deletions(-) delete mode 100644 themes/mandarin-square.json diff --git a/themes/mandarin-square.json b/themes/mandarin-square.json deleted file mode 100644 index 5896675b..00000000 --- a/themes/mandarin-square.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "$schema": "https://github.com/longbridge/gpui-component/raw/refs/heads/main/.theme-schema.json", - "name": "Mandarin Square", - "author": "huacnlee", - "url": "https://en.wikipedia.org/wiki/Mandarin_square", - "themes": [ - { - "name": "Mandarin Square", - "mode": "dark", - "colors": { - "accent.background": "#2a2c33", - "accent.foreground": "#e3dbd3", - "background": "#110D10", - "border": "#312B32", - "danger.background": "#cc241d", - "danger.active.background": "#cc241d", - "danger.foreground": "#282828", - "danger.hover.background": "#fb4934", - "foreground": "#e3dbd3", - "input.border": "#504945", - "list.active.background": "#7F5B2128", - "list.active.border": "#D99832", - "list.even.background": "#28282899", - "muted.background": "#3c3836", - "muted.foreground": "#878787", - "panel.background": "#282828", - "popover.background": "#110D10", - "popover.foreground": "#e3dbd3", - "primary.active.background": "#324a8f99", - "primary.background": "#324a8f", - "primary.foreground": "#c6cdf0", - "primary.hover.background": "#38519f", - "scrollbar.background": "#28282844", - "scrollbar.thumb.background": "#504945", - "secondary.background": "#312C31", - "secondary.active.background": "#201B20", - "secondary.foreground": "#e3dbd3", - "secondary.hover.background": "#3b353b", - "tab.active.background": "#110D10", - "tab.active.foreground": "#ebdbb2", - "tab.background": "#1B171700", - "tab.foreground": "#928d81", - "tab_bar.background": "#110D10", - "title_bar.background": "#110D10", - "title_bar.border": "#312B32", - "base.blue": "#33467F", - "base.cyan": "#A0C4D8", - "base.green": "#55743e", - "base.magenta": "#522431", - "base.magenta.light": "#52243188", - "base.red": "#B51E00", - "base.yellow": "#D99832", - "warning.foreground": "#282828", - "success.foreground": "#ebdbb2", - "info.foreground": "#282828" - }, - "highlight": { - "editor.foreground": "#ebdbb2", - "editor.background": "#110D10", - "editor.active_line.background": "#3c383655", - "editor.line_number": "#928374", - "editor.active_line_number": "#ebdbb2", - "conflict": "#cc241d", - "created": "#7c6f64", - "deleted": "#9d0006", - "error": "#cc241d", - "hidden": "#928374", - "hint": "#83a598", - "ignored": "#928374", - "info": "#324a8f", - "modified": "#b57614", - "predictive": "#928374", - "renamed": "#b57614", - "success": "#7c6f64", - "unreachable": "#928374", - "warning": "#d79921", - "syntax": { - "attribute": { - "color": "#ebdbb2" - }, - "boolean": { - "color": "#d79921BB" - }, - "comment": { - "color": "#504945", - "font_style": "italic" - }, - "comment.doc": { - "color": "#504945", - "font_style": "italic" - }, - "constant": { - "color": "#522431BB" - }, - "constructor": { - "color": "#b57614BB" - }, - "embedded": { - "color": "#ebdbb2" - }, - "function": { - "color": "#ebdbb299" - }, - "keyword": { - "color": "#324a8f99" - }, - "link_text": { - "color": "#83a598", - "font_style": "normal" - }, - "link_uri": { - "color": "#076678BB", - "font_style": "italic" - }, - "number": { - "color": "#9d0006BB" - }, - "string": { - "color": "#55743e" - }, - "string.escape": { - "color": "#55743e" - }, - "string.regex": { - "color": "#55743e" - }, - "string.special": { - "color": "#55743e" - }, - "string.special.symbol": { - "color": "#55743e" - }, - "tag": { - "color": "#b57614BB" - }, - "text.literal": { - "color": "#d79921BB" - }, - "title": { - "color": "#b57614BB", - "font_weight": 600 - }, - "type": { - "color": "#9d0006BB" - }, - "property": { - "color": "#ebdbb2" - }, - "variable.special": { - "color": "#cc241dBB" - } - } - } - } - ] -} diff --git a/themes/matrix.json b/themes/matrix.json index 92fbdb1e..f376a0ce 100644 --- a/themes/matrix.json +++ b/themes/matrix.json @@ -8,9 +8,9 @@ "name": "Matrix", "mode": "dark", "colors": { - "accent.background": "#003200", + "accent.background": "#002d00", "accent.foreground": "#00FF00", - "background": "#020d02", + "background": "#020D02", "border": "#12410E", "window_border": "#156B12", "ring": "#00FF00", @@ -29,7 +29,7 @@ "muted.background": "#001900", "muted.foreground": "#007700", "panel.background": "#001900", - "popover.background": "#0D0208", + "popover.background": "#020D02", "popover.foreground": "#00FF00", "primary.active.background": "#00FF0099", "primary.background": "#00FF00", @@ -41,11 +41,9 @@ "secondary.background": "#002900", "secondary.foreground": "#3fd43a", "secondary.hover.background": "#003300", - "tab.active.background": "#0D0208", "tab.active.foreground": "#00FF00", "tab.background": "#0D020800", "tab.foreground": "#88FF88", - "tab_bar.background": "#0D0208", "title_bar.background": "#020d02", "title_bar.border": "#12410E", "base.red": "#FF0000",