Add theme-aware notification cards with grouped popup stacks

This commit is contained in:
Samuel Onoja committed 2026-09-27 08:17:57 +01:00
1 parent 45a9c0384c
commit a98d7a75c3
7 files changed
+1558 -3

No files matched your search

+8
View File
@@ -49,6 +49,14 @@ pub(crate) fn configure(settings: Settings) {
.unwrap() = settings;
}
pub(crate) fn notification_duration() -> std::time::Duration {
SETTINGS
.get_or_init(|| std::sync::RwLock::new(Settings::default()))
.read()
.unwrap()
.duration(180.0)
}
pub(crate) struct PopupMotion {
start: f32,
target: f32,