1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-03 02:44:13 +03:00

boot/lvgui: Add support for mono theme

This commit is contained in:
Samuel Dionne-Riel 2023-04-25 22:22:58 -04:00
parent c1a295ade8
commit d8a0a89d05

View File

@ -47,6 +47,12 @@ module LVGL::Hacks
)
end
def self.theme_mono()
LVGUI::Native.lv_theme_set_current(
LVGUI::Native.lv_theme_mono_init(0, nil)
)
end
def self.theme_nixos(font = nil, button_font = nil)
LVGUI::Native.lv_theme_set_current(
LVGUI::Native.lv_theme_nixos_init(font, button_font)