diff -Nuar grub-2.12.orig/util/grub.d/00_header.in grub-2.12/util/grub.d/00_header.in --- grub-2.12.orig/util/grub.d/00_header.in 2022-10-04 22:58:22.000000000 +0800 +++ grub-2.12/util/grub.d/00_header.in 2024-12-15 23:00:26.739318434 +0800 @@ -125,6 +125,14 @@ EOF +if [ x$GRUB_COLOR_NORMAL != x ] && [ x$GRUB_COLOR_HIGHLIGHT != x ] ; then + cat << EOF + set menu_color_normal=$GRUB_COLOR_NORMAL + set menu_color_highlight=$GRUB_COLOR_HIGHLIGHT + +EOF +fi + serial=0; gfxterm=0; for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do diff -Nuar grub-2.12.orig/util/grub-mkconfig.in grub-2.12/util/grub-mkconfig.in --- grub-2.12.orig/util/grub-mkconfig.in 2022-11-14 23:52:54.000000000 +0800 +++ grub-2.12/util/grub-mkconfig.in 2024-12-15 22:58:58.086202486 +0800 @@ -250,6 +250,8 @@ GRUB_BACKGROUND \ GRUB_THEME \ GRUB_GFXPAYLOAD_LINUX \ + GRUB_COLOR_NORMAL \ + GRUB_COLOR_HIGHLIGHT \ GRUB_INIT_TUNE \ GRUB_SAVEDEFAULT \ GRUB_ENABLE_CRYPTODISK \