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 /include/saffron_theme.h | |
| parent | 2cc161aabfe5c1343ca504b79a6a1c7706048a91 (diff) | |
| download | saffron-652c89c996f1447e64ccc61ceeaab3a80e7b404d.tar.xz saffron-652c89c996f1447e64ccc61ceeaab3a80e7b404d.zip | |
Add theming!
its 10:24pm and im sleepy
Diffstat (limited to 'include/saffron_theme.h')
| -rw-r--r-- | include/saffron_theme.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/saffron_theme.h b/include/saffron_theme.h new file mode 100644 index 0000000..1425a5d --- /dev/null +++ b/include/saffron_theme.h @@ -0,0 +1,25 @@ +#ifndef SAFFRON_THEME_H +#define SAFFRON_THEME_H + +#include <SDL3/SDL.h> + +typedef struct { + int r; + int g; + int b; + int a; +} SaffronColor; + +typedef struct { + SaffronColor bg; + SaffronColor fg; + SaffronColor primary; + SaffronColor secondary; + SaffronColor tertiary; +} SaffronTheme; + +extern const SaffronTheme SAFFRON_DEFAULT_THEME; + +#define SF_MACRO_DEFAULT_THEME ((SaffronTheme*)&SAFFRON_DEFAULT_THEME) + +#endif |
