respect theme_override
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-09-27 11:13:13 +09:00
commit 7efdde3b15
10 changed files with 70 additions and 62 deletions

View file

@ -42,6 +42,11 @@ MWDECL const char* MwDefaultTitleBackground;
*/
MWDECL const char* MwDefaultTitleForeground;
/*!
* @brief Default link foreground color
*/
MWDECL const char* MwDefaultLinkForeground;
/*!
* @brief Default dark theme background color
*/
@ -72,6 +77,11 @@ MWDECL const char* MwDefaultDarkTitleBackground;
*/
MWDECL const char* MwDefaultDarkTitleForeground;
/*!
* @brief Default dark theme link foreground color
*/
MWDECL const char* MwDefaultDarkLinkForeground;
/*!
* @brief Default shadow difference
*/

View file

@ -42,10 +42,8 @@ struct _MwLLCommon {
MwLLHandler handler;
#if defined(USE_WAYLAND) || defined(USE_X11)
/* 0 = default, 1 = light, 2 = dark */
int theme_override;
#endif
};
struct _MwLLCommonColor {

View file

@ -69,6 +69,7 @@
#define MwNforeground "Sforeground"
#define MwNsubForeground "SsubForeground"
#define MwNtitleForeground "StitleForeground"
#define MwNlinkForeground "SlinkForeground"
#define MwNvulkanExtension "SEvulkanExtension"
#define MwNvulkanLayer "SEvulkanLayer"