video: Add a dark-grey console colour

This is useful for highlighting something with a black background, as
is needed with cedit when using a white-on-black console. Add this as
a new colour.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2024-10-14 16:31:53 -06:00
parent 82c6ebae42
commit 52c19173df
3 changed files with 5 additions and 1 deletions

View File

@@ -339,7 +339,7 @@ static void scene_render_background(struct scene_obj *obj, bool box_only)
/* draw a background for the object */
if (CONFIG_IS_ENABLED(SYS_WHITE_ON_BLACK)) {
fore = VID_BLACK;
fore = VID_DARK_GREY;
back = VID_WHITE;
} else {
fore = VID_LIGHT_GRAY;