diff options
| author | Arslaan Pathan <[email protected]> | 2026-04-30 23:24:58 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-04-30 23:24:58 +1200 |
| commit | 652c89c996f1447e64ccc61ceeaab3a80e7b404d (patch) | |
| tree | a945461e287c66fd8dba0500bc06d0379d78907e /src/saffron.c | |
| parent | 2cc161aabfe5c1343ca504b79a6a1c7706048a91 (diff) | |
| download | saffron-652c89c996f1447e64ccc61ceeaab3a80e7b404d.tar.xz saffron-652c89c996f1447e64ccc61ceeaab3a80e7b404d.zip | |
Add theming!
its 10:24pm and im sleepy
Diffstat (limited to 'src/saffron.c')
| -rw-r--r-- | src/saffron.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/saffron.c b/src/saffron.c index 65816bc..64c7842 100644 --- a/src/saffron.c +++ b/src/saffron.c @@ -4,6 +4,15 @@ #include <SDL3_ttf/SDL_ttf.h> #include <saffron.h> /* meson include directories */ +/* why is this defined in saffron.c, you ask, and not in a separate saffron_theme.c file? because i cant be bothered to make a whole separate .c file for theming which is pretty much mostly headers and some tweaks around the engine */ +const SaffronTheme SAFFRON_DEFAULT_THEME = { + .bg = {30, 30, 46, 255}, + .fg = {205, 214, 244, 255}, + .primary = {137, 180, 250, 255}, + .secondary = {166, 227, 161, 255}, + .tertiary = {203, 166, 247, 255} +}; + bool saffron_init(void) { if (!SDL_Init(SDL_INIT_VIDEO)) { printf("[Saffron] SDL init failed: %s\n", SDL_GetError()); |
