git: 708c8a926a72 - stable/14 - 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:56:54 UTC
The branch stable/14 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=708c8a926a72e51e31168afbd6ee051e1173dd82
commit 708c8a926a72e51e31168afbd6ee051e1173dd82
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:14:58 +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 72f5648cae91..2d92be3b7c6e 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()