RTL-safe theming with logical properties
All spacing, borders, pinned column shadows and icon placement use CSS logical properties, so themes work unchanged in right-to-left languages. Custom themes written with logical tokens stay correct in both directions.
Planned. This page shows the specification from issue #205. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid with left- and right-pinned columns and a custom theme, in LTR.
Expected behavior
Switching direction mirrors pinned columns, shadows, padding, sort and expand icons, and resize handles with no theme changes.
Planned API surface
dir attribute support--war-grid-cell-padding-inline token--war-grid-pinned-shadow tokendirection optionAcceptance criteria
- No physical left/right properties appear in the grid stylesheets except in documented exceptions (pending)
- Pinned start/end columns follow the direction (pending)
- Directional icons mirror and non-directional ones do not (pending)
- Horizontal scroll origin is correct in RTL across browsers (pending)