Skip to content

Tokenize icon-link and stretched-link helpers#42696

Merged
mdo merged 2 commits into
v6-devfrom
mdo/icon-link-stretched-link-tokens
Jul 17, 2026
Merged

Tokenize icon-link and stretched-link helpers#42696
mdo merged 2 commits into
v6-devfrom
mdo/icon-link-stretched-link-tokens

Conversation

@mdo

@mdo mdo commented Jul 16, 2026

Copy link
Copy Markdown
Member

Converts the icon-link and stretched-link Sass variables in _config.scss into component-scoped token maps that generate --bs-* CSS custom properties, matching our other helpers/components. Also fixes .icon-link underline color, which referenced removed v5 variables (--link-color-rgb/--link-opacity) and never actually picked up custom link colors.

Docs for both helpers are updated to reflect the new CSS variables.

@mdo
mdo requested a review from a team as a code owner July 16, 2026 15:50
@mdo mdo added the v6 label Jul 16, 2026
@mdo mdo added this to v6.0.0 Jul 16, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Jul 16, 2026
mdo added 2 commits July 16, 2026 20:01
Move the icon-link and stretched-link Sass variables out of _config.scss
and into component-scoped token maps, generating scoped CSS custom
properties instead. Updates each helper docs page to document the new
CSS variables.
.icon-link relied on the removed --link-color-rgb and --link-opacity
variables, so its underline never picked up custom link colors. Use
color-mix() against --link-color instead.
@mdo
mdo force-pushed the mdo/icon-link-stretched-link-tokens branch from 46b2ee5 to e290059 Compare July 17, 2026 03:02
@mdo
mdo merged commit 00c3cbb into v6-dev Jul 17, 2026
12 checks passed
@mdo
mdo deleted the mdo/icon-link-stretched-link-tokens branch July 17, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant