Directional and Custom Flash Styling
Numeric changes can flash in different styles for increases and decreases, using theme tokens or a custom class callback. A non-colour indicator (an arrow glyph) keeps the direction readable for colour-blind users.
Planned. This page shows the specification from issue #179. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A price grid with directional flashing enabled.
Expected behavior
Rising values flash in the up style with an up arrow and falling values in the down style with a down arrow. Custom rules override the default styles.
Planned API surface
flashDirectionflashClassRules(params)theme tokens: --war-flash-up, --war-flash-downshowChangeIndicatorAcceptance criteria
- Direction is computed from numeric old vs new values (pending)
- Non-numeric values fall back to the neutral flash (pending)
- Indicator glyphs have accessible text (pending)
- Theme tokens apply without JavaScript changes (pending)