diff options
| author | Aram Drevekenin <aram@poor.dev> | 2022-06-06 11:30:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-06 11:30:40 +0200 |
| commit | bded92f5537bc6d91b447d7c161b6d3f46cbd8bc (patch) | |
| tree | bd27e848d75439996aefe3dbcc47b783b4a7a796 /default-plugins/compact-bar | |
| parent | docs(changelog): client loop fix (diff) | |
| download | sl0ppij-bded92f5537bc6d91b447d7c161b6d3f46cbd8bc.tar.gz sl0ppij-bded92f5537bc6d91b447d7c161b6d3f46cbd8bc.tar.xz sl0ppij-bded92f5537bc6d91b447d7c161b6d3f46cbd8bc.zip | |
feat(ui): minor tweaks to the compact tab bar (#1457)
* feat(ui): minor tweaks to the compact tab bar
* style(fmt): rustfmt
Diffstat (limited to 'default-plugins/compact-bar')
| -rw-r--r-- | default-plugins/compact-bar/src/line.rs | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/default-plugins/compact-bar/src/line.rs b/default-plugins/compact-bar/src/line.rs index a181f5c7..71d3974e 100644 --- a/default-plugins/compact-bar/src/line.rs +++ b/default-plugins/compact-bar/src/line.rs @@ -164,6 +164,11 @@ fn tab_line_prefix( ThemeHue::Dark => palette.black, ThemeHue::Light => palette.white, }; + + let locked_mode_color = palette.magenta; + let normal_mode_color = palette.green; + let other_modes_color = palette.orange; + let prefix_styled_text = style!(text_color, bg_color).bold().paint(prefix_text); let mut parts = vec