changed config defaults to use theme enums

This commit is contained in:
Mikayla Fischler 2024-03-12 21:09:37 -04:00
parent ecd3575643
commit 1c0f61b3e0
3 changed files with 6 additions and 6 deletions

View File

@ -122,8 +122,8 @@ local fields = {
{ "LogMode", "Log Mode", log.MODE.APPEND }, { "LogMode", "Log Mode", log.MODE.APPEND },
{ "LogPath", "Log Path", "/log.txt" }, { "LogPath", "Log Path", "/log.txt" },
{ "LogDebug", "Log Debug Messages", false }, { "LogDebug", "Log Debug Messages", false },
{ "FrontPanelTheme", "Front Panel Theme", 1 }, { "FrontPanelTheme", "Front Panel Theme", themes.FP_THEME.SANDSTONE },
{ "ColorMode", "Color Mode", 1 } { "ColorMode", "Color Mode", themes.COLOR_MODE.STANDARD }
} }
local side_options = { "Top", "Bottom", "Left", "Right", "Front", "Back" } local side_options = { "Top", "Bottom", "Left", "Right", "Front", "Back" }

View File

@ -196,8 +196,8 @@ local fields = {
{ "LogMode", "Log Mode", log.MODE.APPEND }, { "LogMode", "Log Mode", log.MODE.APPEND },
{ "LogPath", "Log Path", "/log.txt" }, { "LogPath", "Log Path", "/log.txt" },
{ "LogDebug", "Log Debug Messages", false }, { "LogDebug", "Log Debug Messages", false },
{ "FrontPanelTheme", "Front Panel Theme", 1 }, { "FrontPanelTheme", "Front Panel Theme", themes.FP_THEME.SANDSTONE },
{ "ColorMode", "Color Mode", 1 } { "ColorMode", "Color Mode", themes.COLOR_MODE.STANDARD }
} }
local side_options = { "Top", "Bottom", "Left", "Right", "Front", "Back" } local side_options = { "Top", "Bottom", "Left", "Right", "Front", "Back" }

View File

@ -133,8 +133,8 @@ local fields = {
{ "LogMode", "Log Mode", log.MODE.APPEND }, { "LogMode", "Log Mode", log.MODE.APPEND },
{ "LogPath", "Log Path", "/log.txt" }, { "LogPath", "Log Path", "/log.txt" },
{ "LogDebug", "Log Debug Messages", false }, { "LogDebug", "Log Debug Messages", false },
{ "FrontPanelTheme", "Front Panel Theme", 1 }, { "FrontPanelTheme", "Front Panel Theme", themes.FP_THEME.SANDSTONE },
{ "ColorMode", "Color Mode", 1 } { "ColorMode", "Color Mode", themes.COLOR_MODE.STANDARD }
} }
-- load data from the settings file -- load data from the settings file