mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 18:20:20 +00:00
feat: centralize theming in theme-manager (palette/tokens, CSS, dark-mode, setup UI), add tests + win32/meson wiring
This commit is contained in:
10
src/fe-gtk/theme/theme-policy.h
Normal file
10
src/fe-gtk/theme/theme-policy.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef ZOITECHAT_THEME_POLICY_H
|
||||
#define ZOITECHAT_THEME_POLICY_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
gboolean theme_policy_system_prefers_dark (void);
|
||||
gboolean theme_policy_is_dark_mode_active (unsigned int mode);
|
||||
gboolean theme_policy_is_app_dark_mode_active (void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user