Skip to Content

[IMP] viin_brand_web: keep list, kanban, dialog, popover text readable

Killed 293m merged
PR
#707
PR Author
David Tran
Committer
David Tran
Commit
8fdfa552a14b
Branch
19.0
Age
Up-time
Commit message
[IMP] viin_brand_web: keep list, kanban, dialog, popover text readable

A decorated list row, a kanban card, a dialog body and a popover body
were painted with the app-shell grey in the light scheme, while core
tunes the contextual text colours (info, danger, warning, success,
muted) for the white view surface; the text fell under the WCAG AA
4.5:1 ratio. These surfaces are the view surface again (white in light,
the panel tier in dark, unchanged). The label of the brand info and
danger fills (state pills, danger and info buttons) is re-chosen at the
AA threshold in both schemes, because core's lowered contrast floor
picks white at 3.13:1 and 4.29:1. In dark, a value mapped to the
default badge class takes the body text tier instead of core's black,
and the faded label of a read-only radio or checkbox keeps 4.5:1 on the
muted label tier. Compile-level tests guard each rule. Texts whose
colour and surface are core's own (chatter panel, the muted tier on
white) are left as core renders them.

The module version is bumped to 0.2.2 for the changed theme styles.