Add new "Dark" theme

This commit is contained in:
Henrik Rydgård committed 2023-01-10 15:37:36 +01:00
1 parent ffb8a9be47
commit e6380ecf77
2 files changed
+21 -3

No files matched your search

+1 -2
View File
@@ -108,13 +108,12 @@ static void LoadThemeInfo(const std::vector<Path> &directories) {
if (ini.LoadFromVFS(name.ToString()) || ini.Load(fileInfo[f].fullName)) {
success = true;
// vsh load. meh.
}
if (!success)
continue;
// Alright, let's loop through the sections and see if any is a themes.
// Alright, let's loop through the sections and see if any is a theme.
for (size_t i = 0; i < ini.Sections().size(); i++) {
Section &section = ini.Sections()[i];
ThemeInfo info;
+20 -1
View File
@@ -19,4 +19,23 @@ UIAtlas = "../ui_atlas"
# Colors are either in the format "#RGBA" or 0xABGR (e.g. green is "#00FF00FF" or 0xFF00FF00)
# Atlas should be in the format path/to/filename where both filename.zim and filename.meta are
# Unprovided entry will use the default value
# Unprovided entry will use the default value
[Dark]
Name = "Dark"
ItemStyleFg = "#FFFFFFFF"
ItemStyleBg = "#13405255"
ItemFocusedStyleFg = "#FFFFFFFF"
ItemFocusedStyleBg = "#3799bdFF"
ItemDownStyleFg = "#FFFFFFFF"
ItemDownStyleBg = "#2b7b99FF"
ItemDisabledStyleFg = "#EEEEEE80"
ItemDisabledStyleBg = "#1b1c1c55"
HeaderStyleFg = "#FFFFFFFF"
InfoStyleFg = "#FFFFFFFF"
InfoStyleBg = "#00000000"
PopupTitleStyleFg = "#59BEE3FF"
PopupStyleFg = "#FFFFFFFF"
PopupStyleBg = "#303030FF"
BackgroundColor = "#000000FF"
UIAtlas = "../ui_atlas"