summaryrefslogtreecommitdiff
path: root/src/lua/lua_theme.cpp
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-03-07 14:20:06 +1100
committerailurux <ailuruxx@gmail.com>2024-03-07 14:20:06 +1100
commit312b70f9f6a2e3d7d387dfe3502f12f091e8fe37 (patch)
tree09199fc4b378c80aaa334c4699762c0fa86d99ef /src/lua/lua_theme.cpp
parenta78614a5806c9800956f10f993e1c70b74fbf323 (diff)
downloadtangara-fw-312b70f9f6a2e3d7d387dfe3502f12f091e8fe37.tar.gz
WIP: Base styles are applied
Diffstat (limited to 'src/lua/lua_theme.cpp')
-rw-r--r--src/lua/lua_theme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_theme.cpp b/src/lua/lua_theme.cpp
index a95e634b..7b007f4d 100644
--- a/src/lua/lua_theme.cpp
+++ b/src/lua/lua_theme.cpp
@@ -60,6 +60,7 @@ static auto set_theme(lua_State* L) -> int {
ESP_LOGI("DANIEL", "Style was null or malformed??");
return 0;
} else {
+ ui::themes::Theme::instance()->AddStyle(class_name, selector, style);
ESP_LOGI("DANIEL", "Got style for class %s with selector %d", class_name.c_str(), selector);
}
}