Toast fixes

This commit is contained in:
2026-07-13 18:06:48 +02:00
parent dda596c50c
commit 9a4420fdc2
3 changed files with 56 additions and 3 deletions
+15
View File
@@ -198,6 +198,21 @@
animation: panel-fade-in 0.18s ease-out;
}
/* Toast auto-dismiss countdown; duration set inline per toast. */
@keyframes toast-countdown {
to {
transform: scaleX(0);
}
}
.toast-countdown {
animation: toast-countdown linear forwards;
}
/* unlayered on purpose: a Tailwind group-hover utility would lose to the
unlayered animation shorthand above */
.group:hover > .toast-countdown {
animation-play-state: paused;
}
/* Accent tone (data-accent set by SettingsService; absent = graphite/zinc).
Each tone is one hue+chroma line; the formula blocks below derive --primary,
--ring and the cursor-row tint for light and both dark states. The dark