mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
StyleCx::link_look drew links in accent.solid, which the theme holds only to the 3:1 non-text minimum, so link text read at 2.93:1 on the light panel and 2.30:1 on the dark one. It now takes accent.text at every contrast, the accent step the theme holds to 4.5:1 on the panel, raised and sunken surfaces. accent.solid is unchanged, so buttons and fills keep their color. A toast's card is the inverse surface, where accent.text reads at 2.57:1 in the default light theme and 1.24:1 in the dark one. Link::on_inverse draws a link in text.on_inverse, always underlined, and a toast's action links use it.