theme: add linux system theme sources

This commit is contained in:
2026-10-31 07:57:27 +07:00
parent dacdd84aa4
commit c45f939211
11 changed files with 1187 additions and 10 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ use super::ThemeSource;
use crate::ThemeVariant;
use crate::system::SystemTheme;
// Constructed only by `platform_source` on non-macOS targets.
#[cfg_attr(target_os = "macos", allow(dead_code))]
// Constructed only by `platform_source` on platforms without their own adapter.
#[cfg_attr(any(target_os = "macos", target_os = "linux"), allow(dead_code))]
pub(crate) struct FallbackSource;
impl ThemeSource for FallbackSource {