diff options
| author | har7an <99636919+har7an@users.noreply.github.com> | 2025-03-16 16:33:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-16 16:33:10 +0000 |
| commit | ba745cd700a46f7a235c8b93e5fe8487c7e0e2e8 (patch) | |
| tree | 88b61a8b66b13552a1cfc2c08091cc6ea7fc2938 | |
| parent | HOTFIX: fix tutorial link in about plugin (diff) | |
| download | sl0ppij-ba745cd700a46f7a235c8b93e5fe8487c7e0e2e8.tar.gz sl0ppij-ba745cd700a46f7a235c8b93e5fe8487c7e0e2e8.tar.xz sl0ppij-ba745cd700a46f7a235c8b93e5fe8487c7e0e2e8.zip | |
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.
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | default-plugins/about/src/pages.rs | 6 | ||||
| -rw-r--r-- | 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