git: 9184e787ba91 - stable/13 - loader: Use Cyan instead of Blue for some menu items
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Dec 2024 18:55:00 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=9184e787ba9140d02699905f6242b6b9c646f15d
commit 9184e787ba9140d02699905f6242b6b9c646f15d
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-10-11 19:06:24 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-12-28 18:15:03 +0000
loader: Use Cyan instead of Blue for some menu items
BLUE often translates to DARK BLUE. On BLACK this is hard to
read. Instead, use CYAN which looks good on both black and white
backgrounds.
Discussed with: kevans
Sponsored by: Netflix
(cherry picked from commit baa7e9cd3083ccaed8f26e9ad786ff9657ab85fc)
---
stand/lua/menu.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
index 9d228df1a9ad..d7e4ca4a4383 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -122,7 +122,7 @@ menu.boot_environments = {
if is_default then
name_color = color.escapefg(color.GREEN)
else
- name_color = color.escapefg(color.BLUE)
+ name_color = color.escapefg(color.CYAN)
end
bootenv_name = bootenv_name .. name_color ..
choice .. color.resetfg()
@@ -342,7 +342,7 @@ menu.welcome = {
name_color = color.escapefg(color.GREEN)
kernel_name = "default/"
else
- name_color = color.escapefg(color.BLUE)
+ name_color = color.escapefg(color.CYAN)
end
kernel_name = kernel_name .. name_color ..
choice .. color.resetfg()