mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-11 19:26:56 +00:00
fix(ui): default Reduced Motion on Calm and quiet decorative rails (#1622)
* fix(ui): default Reduced Motion on Calm and quiet decorative rails Calm (and Reset to default) enables Reduced Motion; Signature clears it. Manual Motion stays independent of the visual-style card. Reduced Effects also stops decorative masthead rail animations. Related to #1614; does not close that issue. * test(e2e): fix Calm Motion specs racing empty-create compose edit Stop appearance init-script reseeding after mid-test mutations, and wait for Save and Deploy / mobile compose editor after empty create instead of assuming Anatomy Edit compose.
This commit is contained in:
@@ -481,6 +481,14 @@ html[data-effects="reduced"] .animate-pulse {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
/* Decorative masthead rails: tied to reduced material effects (Calm, Readability,
|
||||
or manual Reduced effects), not to data-motion. Motion remains independently
|
||||
toggleable; turning Motion off does not restore these rails while effects are reduced. */
|
||||
html[data-effects="reduced"] .masthead-rail-glow,
|
||||
html[data-effects="reduced"] .masthead-rail-shimmer {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
/* Heading utility: every operational title routes through this. Base sets only
|
||||
family + style (Signature parity); the Calm-only descendant rule lifts weight
|
||||
and tightens tracking for the sans face, beating any single tracking or weight
|
||||
|
||||
Reference in New Issue
Block a user