Skip to main content

Module recipe_link_style

Module recipe_link_style 

Source
Expand description

Default LinkStyle impl driven by paint-recipe data.

RecipeLinkStyle ships the IntUI link chrome: idle / hover / visited text colours via the standard TextRole::Link* roles, a 1 px underline matching the text colour, and a corner-rounded focus ring that appears only on keyboard focus.

Structs§

LinkRecipe
Configurable dimensions for RecipeLinkStyle.
RecipeLinkStyle
Default LinkStyle shipped with Teksilo.

Constants§

LINK_CORNER_RADIUS
LINK_UNDERLINE_THICKNESS

Functions§

link_text_role
Per-state text role for a link, given its four interaction signals plus a static disabled hint. Exposed so custom LinkStyle implementations can reuse the IntUI mapping when they only want to swap the underline / focus-ring policy. Hover and pressed both map to LinkHover; visited overrides idle but is itself overridden by hover (standard web convention); disabled wins outright.