Side pills, centred: cards open big in the middle as a carousel with the other pills and the island beside them, switch directly; each pill in its own colour; row and card in separate windows

This commit is contained in:
server2
2026-10-15 23:44:37 +02:00
parent d59a5bc81c
commit e2ef1a9d52
7 changed files with 402 additions and 140 deletions
+5
View File
@@ -350,6 +350,11 @@ fn sync_settings() -> (String, String, String, bool) {
}
// whether the card has a form to type into: then it keeps the keyboard and stays open
// the sky now and whether it's day, once the weather is known (the home pill takes its colour from it)
pub fn sky() -> Option<(parse::Sky, bool)> {
Forecast::read().weather.as_ref().map(|weather| (parse::sky(weather.code), weather.is_day))
}
pub fn typing() -> bool {
Agenda::read().form.is_some()
}