Skip to content

Commit 5145b33

Browse files
committedDec 8, 2024
Added example theme (ducalex#161)
Still to do is move the default theme files and values to this new `themes` folder.
1 parent 6b55579 commit 5145b33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+83
-3
lines changed
 

‎THEMING.md

+19-3

‎components/retro-go/rg_gui.c

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ static struct
2828
rg_color_t item_disabled;
2929
rg_color_t item_message;
3030
rg_color_t scrollbar;
31+
rg_color_t shadow;
3132
} style;
3233
char theme_name[32];
3334
cJSON *theme_obj;
@@ -173,6 +174,7 @@ bool rg_gui_set_theme(const char *theme_name)
173174
gui.style.item_disabled = rg_gui_get_theme_color("dialog", "item_disabled", C_GRAY);
174175
gui.style.item_message = rg_gui_get_theme_color("dialog", "item_message", C_SILVER);
175176
gui.style.scrollbar = rg_gui_get_theme_color("dialog", "scrollbar", C_WHITE);
177+
gui.style.shadow = rg_gui_get_theme_color("dialog", "shadow", C_NONE);
176178

177179
return true;
178180
}

0 commit comments

Comments
 (0)