From 652c89c996f1447e64ccc61ceeaab3a80e7b404d Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 30 Apr 2026 23:24:58 +1200 Subject: Add theming! its 10:24pm and im sleepy --- src/saffron.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/saffron.c') 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 #include /* 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()); -- cgit v1.2.3