From 7b1d1bf79e7faa1b2024c58b3afdb9363710b588 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:17:34 -0300 Subject: [PATCH] Update `panel.focused_border` token across themes (#21612) Follow up to https://github.com/zed-industries/zed/pull/21593 This PR updates all built-in themes `panel.focused_border` tokens using the same HEX code used for `text_accent`. There shouldn't be any visual change here given the project panel item, when focused, was using `Color::Selected`, which maps to `text_accent`, to color its border. In the linked PR above, the project panel item was updated to use the dedicated token for that. This is good because now theme markers will be able to customize them separately (e.g., having a different `text_accent` color than `panel.focused_border`). Release Notes: - N/A --- assets/themes/andromeda/andromeda.json | 2 +- assets/themes/atelier/atelier.json | 4 ++-- assets/themes/ayu/ayu.json | 4 ++-- assets/themes/gruvbox/gruvbox.json | 4 ++-- assets/themes/rose_pine/rose_pine.json | 6 +++--- assets/themes/sandcastle/sandcastle.json | 2 +- assets/themes/solarized/solarized.json | 4 ++-- assets/themes/summercamp/summercamp.json | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/assets/themes/andromeda/andromeda.json b/assets/themes/andromeda/andromeda.json index 633b5c308f..9a9ab5356e 100644 --- a/assets/themes/andromeda/andromeda.json +++ b/assets/themes/andromeda/andromeda.json @@ -46,7 +46,7 @@ "tab.active_background": "#1e2025ff", "search.match_background": "#11a79366", "panel.background": "#21242bff", - "panel.focused_border": null, + "panel.focused_border": "#10a793ff", "pane.focused_border": null, "scrollbar.thumb.background": "#f7f7f84c", "scrollbar.thumb.hover_background": "#252931ff", diff --git a/assets/themes/atelier/atelier.json b/assets/themes/atelier/atelier.json index f72e8e84ee..cbfb6bea85 100644 --- a/assets/themes/atelier/atelier.json +++ b/assets/themes/atelier/atelier.json @@ -46,7 +46,7 @@ "tab.active_background": "#19171cff", "search.match_background": "#576dda66", "panel.background": "#221f26ff", - "panel.focused_border": null, + "panel.focused_border": "#566ddaff", "pane.focused_border": null, "scrollbar.thumb.background": "#efecf44c", "scrollbar.thumb.hover_background": "#332f38ff", @@ -431,7 +431,7 @@ "tab.active_background": "#efecf4ff", "search.match_background": "#586dda66", "panel.background": "#e6e3ebff", - "panel.focused_border": null, + "panel.focused_border": "#586cdaff", "pane.focused_border": null, "scrollbar.thumb.background": "#19171c4c", "scrollbar.thumb.hover_background": "#cbc8d1ff", diff --git a/assets/themes/ayu/ayu.json b/assets/themes/ayu/ayu.json index d511ebf84a..a7c86ef0ba 100644 --- a/assets/themes/ayu/ayu.json +++ b/assets/themes/ayu/ayu.json @@ -46,7 +46,7 @@ "tab.active_background": "#0d1016ff", "search.match_background": "#5ac2fe66", "panel.background": "#1f2127ff", - "panel.focused_border": null, + "panel.focused_border": "#5ac1feff", "pane.focused_border": null, "scrollbar.thumb.background": "#bfbdb64c", "scrollbar.thumb.hover_background": "#2d2f34ff", @@ -416,7 +416,7 @@ "tab.active_background": "#fcfcfcff", "search.match_background": "#3b9ee566", "panel.background": "#ececedff", - "panel.focused_border": null, + "panel.focused_border": "#3b9ee5ff", "pane.focused_border": null, "scrollbar.thumb.background": "#5c61664c", "scrollbar.thumb.hover_background": "#dfe0e1ff", diff --git a/assets/themes/gruvbox/gruvbox.json b/assets/themes/gruvbox/gruvbox.json index 908ce3a28a..4f599cdfe6 100644 --- a/assets/themes/gruvbox/gruvbox.json +++ b/assets/themes/gruvbox/gruvbox.json @@ -55,7 +55,7 @@ "tab.active_background": "#282828ff", "search.match_background": "#83a59866", "panel.background": "#3a3735ff", - "panel.focused_border": null, + "panel.focused_border": "#83a598ff", "pane.focused_border": null, "scrollbar.thumb.background": "#fbf1c74c", "scrollbar.thumb.hover_background": "#494340ff", @@ -439,7 +439,7 @@ "tab.active_background": "#1d2021ff", "search.match_background": "#83a59866", "panel.background": "#393634ff", - "panel.focused_border": null, + "panel.focused_border": "#83a598ff", "pane.focused_border": null, "scrollbar.thumb.background": "#fbf1c74c", "scrollbar.thumb.hover_background": "#494340ff", diff --git a/assets/themes/rose_pine/rose_pine.json b/assets/themes/rose_pine/rose_pine.json index 2ff97da117..b081f5e133 100644 --- a/assets/themes/rose_pine/rose_pine.json +++ b/assets/themes/rose_pine/rose_pine.json @@ -46,7 +46,7 @@ "tab.active_background": "#191724ff", "search.match_background": "#57949f66", "panel.background": "#1c1b2aff", - "panel.focused_border": null, + "panel.focused_border": "#9bced6ff", "pane.focused_border": null, "scrollbar.thumb.background": "#e0def44c", "scrollbar.thumb.hover_background": "#232132ff", @@ -426,7 +426,7 @@ "tab.active_background": "#faf4edff", "search.match_background": "#9cced766", "panel.background": "#fef9f2ff", - "panel.focused_border": null, + "panel.focused_border": "#57949fff", "pane.focused_border": null, "scrollbar.thumb.background": "#5752794c", "scrollbar.thumb.hover_background": "#e5e0dfff", @@ -806,7 +806,7 @@ "tab.active_background": "#232136ff", "search.match_background": "#9cced766", "panel.background": "#28253cff", - "panel.focused_border": null, + "panel.focused_border": "#9bced6ff", "pane.focused_border": null, "scrollbar.thumb.background": "#e0def44c", "scrollbar.thumb.hover_background": "#322f48ff", diff --git a/assets/themes/sandcastle/sandcastle.json b/assets/themes/sandcastle/sandcastle.json index ba9e6f50fd..87030607dc 100644 --- a/assets/themes/sandcastle/sandcastle.json +++ b/assets/themes/sandcastle/sandcastle.json @@ -46,7 +46,7 @@ "tab.active_background": "#282c33ff", "search.match_background": "#528b8b66", "panel.background": "#2b3038ff", - "panel.focused_border": null, + "panel.focused_border": "#518b8bff", "pane.focused_border": null, "scrollbar.thumb.background": "#fdf4c14c", "scrollbar.thumb.hover_background": "#313741ff", diff --git a/assets/themes/solarized/solarized.json b/assets/themes/solarized/solarized.json index fe86793cdc..42341d6770 100644 --- a/assets/themes/solarized/solarized.json +++ b/assets/themes/solarized/solarized.json @@ -46,7 +46,7 @@ "tab.active_background": "#002a35ff", "search.match_background": "#288bd166", "panel.background": "#04313bff", - "panel.focused_border": null, + "panel.focused_border": "#278ad1ff", "pane.focused_border": null, "scrollbar.thumb.background": "#fdf6e34c", "scrollbar.thumb.hover_background": "#053541ff", @@ -416,7 +416,7 @@ "tab.active_background": "#fdf6e3ff", "search.match_background": "#298bd166", "panel.background": "#f3eddaff", - "panel.focused_border": null, + "panel.focused_border": "#288bd1ff", "pane.focused_border": null, "scrollbar.thumb.background": "#002a354c", "scrollbar.thumb.hover_background": "#dcdacbff", diff --git a/assets/themes/summercamp/summercamp.json b/assets/themes/summercamp/summercamp.json index c2206f9aab..0c5cfa0c6f 100644 --- a/assets/themes/summercamp/summercamp.json +++ b/assets/themes/summercamp/summercamp.json @@ -46,7 +46,7 @@ "tab.active_background": "#1b1810ff", "search.match_background": "#499bef66", "panel.background": "#231f16ff", - "panel.focused_border": null, + "panel.focused_border": "#499befff", "pane.focused_border": null, "scrollbar.thumb.background": "#f8f5de4c", "scrollbar.thumb.hover_background": "#29251bff",