Skip to content

chore: Add underline styling for the inline-link button for one-theme - #5237

Merged
at-susie merged 4 commits into
mainfrom
dev-v3-onetheme-inline-link-button
Nov 5, 2026
Merged

at-susie merged 4 commits into
mainfrom
dev-v3-onetheme-inline-link-button

Conversation

@at-susie

@at-susie at-susie commented Nov 3, 2026

Copy link
Copy Markdown
Member

Description

This PR adds an underline style to the inline-link variant of the button component to visually distinguish it as an inline interactive element, since in one-theme we changed the color to be neutral color from an accent color.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov

codecov Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.82%. Comparing base (8716cbf) to head (d9986c4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5237   +/-   ##
=======================================
  Coverage   97.82%   97.82%           
=======================================
  Files        1006     1006           
  Lines       32621    32621           
  Branches    12116    12117    +1     
=======================================
  Hits        31913    31913           
+ Misses        702      666   -36     
- Partials        6       42   +36     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread src/button/styles.scss Outdated
&.variant-inline-link {
@include theming.one-theme-only {
text-decoration-line: underline;
text-underline-offset: 3.5px;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a linkTextDecoration token or something similar which we can use instead of the one-theme-only guard?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but why not. So I introduced it

@at-susie
at-susie added this pull request to the merge queue Nov 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Nov 4, 2026
@at-susie
at-susie added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit bee4ff3 Nov 5, 2026
69 checks passed
@at-susie
at-susie deleted the dev-v3-onetheme-inline-link-button branch November 5, 2026 10:40

This branch was successfully deployed

3 active deployments
dev-pages-react16 — d9986c4f Deployed Nov 4, 2026 by at-susie via deploy (React 16) / deploy #3160
dev-pages-react18 — d9986c4f Deployed Nov 4, 2026 by at-susie via deploy (React 18) / deploy #3160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants