-- Redistribution and use in source and binary forms, with or without
@@ -29,6 +31,8 @@
-- $FreeBSD$
--
+
+-- Required libraries
local cli = require("cli")
local core = require("core")
local color = require("color")
@@ -36,23 +40,174 @@
local screen = require("screen")
local drawer = require("drawer")
+
+
+ -- LOCAL VARIABLES
+
+local theme = color.getTheme(color.MENU)
+
+-- The list of Initials to highlight.
+-- The initials of certain phrases ( messages ) on the loader menu have been removed and made separate from the original sentences
+-- to allow separate colorization of those initials. On the loader prompt, these
+-- initials are also keyboard shortcuts that the user can type to access specific items on the loader menu.
+-- The variables are declared as functions to take advantage of the immutability property of strings in Lua.
+-- This trick allows for instantaneous change and near instantaneous rendition of the those initials after they have been stylized/colorized based on a theme.
+-- Each section/portion of the loader menu is independently controlled by a bootloader variable.
+-- These bootloader variables are declared in the script 'color.lua' and are listed here for reference:
+
+-- loader_brand_theme : controls the theme/color of the brand
+-- loader_menu_theme : controls the theme/color of the menu
+-- loader_logo_theme : controls the theme/color of the logo
+
+local MSG_A = function()
+return color.escapefg(color.getTheme(color.MENU)) .. "A" .. color.resetfg()