Mercurial > minori
view src/sys/x11/dark_theme.cc @ 404:e561b7542b7b
*: fix build on mac os x
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 19 Jan 2026 20:50:40 -0500 |
| parents | df4a027623d0 |
| children |
line wrap: on
line source
#include "sys/x11/dark_theme.h" #include "sys/x11/settings.h" #include "core/strings.h" namespace x11 { bool IsInDarkTheme() { SettingsItem setting; if (!FindSetting(u8"Net/ThemeName", setting)) return false; return Strings::IsGTKThemeDark(setting.data.string); } } // namespace x11
