From ba745cd700a46f7a235c8b93e5fe8487c7e0e2e8 Mon Sep 17 00:00:00 2001 From: har7an <99636919+har7an@users.noreply.github.com> Date: Sun, 16 Mar 2025 16:33:10 +0000 Subject: [PATCH] fix(plugins): styling in the "about" plugin (#4062) * fix(about): Don't repeat item number. * fix(about): Color entire key sequence. * CHANGELOG: Add MR #4062. --- CHANGELOG.md | 1 + default-plugins/about/src/pages.rs | 6 +++--- default-plugins/about/src/tips.rs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7b291e9..ff3c8978 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * fix(plugins): prevent paging plugins from cache at runtime (https://github.com/zellij-org/zellij/pull/4044) * fix(ui): add split right/down shortcut hints to the status-bar (https://github.com/zellij-org/zellij/pull/4046) * chore(repo): remove compile warnings (https://github.com/zellij-org/zellij/pull/4026) +* fix(plugins): fix styling in "about" (https://github.com/zellij-org/zellij/pull/4062) ## [0.41.2] - 2024-11-19 * fix(input): keypresses not being identified properly with kitty keyboard protocol in some terminals (https://github.com/zellij-org/zellij/pull/3725) diff --git a/default-plugins/about/src/pages.rs b/default-plugins/about/src/pages.rs index 9bf82200..0ec6115c 100644 --- a/default-plugins/about/src/pages.rs +++ b/default-plugins/about/src/pages.rs @@ -144,9 +144,9 @@ impl Page { .color_range(3, 6..=10) )), ActiveComponent::new(TextOrCustomRender::Text( - Text::new("5. You can always snap back to the built-in swap layouts with Alt <[]>") - .color_range(3, 62..=64) - .color_range(3, 67..=68) + Text::new("You can always snap back to the built-in swap layouts with Alt <[]>") + .color_range(3, 59..=61) + .color_range(3, 64..=65) )), ]) ) diff --git a/default-plugins/about/src/tips.rs b/default-plugins/about/src/tips.rs index 737b292d..48813e61 100644 --- a/default-plugins/about/src/tips.rs +++ b/default-plugins/about/src/tips.rs @@ -430,7 +430,7 @@ impl Page { .color_range(0, 34..=36) .color_range(2, 40..=45) .color_range(0, 50..=52) - .color_range(2, 56..=60) + .color_range(2, 56..=61) )) ]), ComponentLine::new(vec![