mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 17:50:19 +00:00
dark mode
This commit is contained in:
@@ -38,4 +38,15 @@ void palette_alloc (GtkWidget * widget);
|
||||
void palette_load (void);
|
||||
void palette_save (void);
|
||||
|
||||
/*
|
||||
* Apply ZoiteChat's built-in "dark mode" background/foreground overrides.
|
||||
*
|
||||
* This is intentionally conservative: it only adjusts the palette if the
|
||||
* colors are still at ZoiteChat's stock defaults, so user-customized palettes
|
||||
* continue to take precedence.
|
||||
*
|
||||
* Returns TRUE if any palette entries were changed.
|
||||
*/
|
||||
gboolean palette_apply_dark_mode (gboolean enable);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user