Skip to content

chore: Implement one-theme icon#4588

Draft
at-susie wants to merge 5 commits into
mainfrom
feat/implement-small-icon
Draft

chore: Implement one-theme icon#4588
at-susie wants to merge 5 commits into
mainfrom
feat/implement-small-icon

Conversation

@at-susie
Copy link
Copy Markdown
Member

@at-susie at-susie commented Jun 7, 2026

Description

This PR implements one-theme specific icon treatments.

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.

at-susie added 3 commits June 5, 2026 11:57
…elector

Replace :global(.awsui-one-theme) ancestor selector with a local
.one-theme CSS class on the icon span, following the same pattern as
the .refresh class in cards. The one-theme class is applied via
isThemeActive(Theme.OneTheme) in clsx, removing the need for the
selector-combinator-disallowed-list stylelint suppression comment.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.50%. Comparing base (8ddbc92) to head (20b3a09).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4588      +/-   ##
==========================================
+ Coverage   97.45%   97.50%   +0.05%     
==========================================
  Files         942      947       +5     
  Lines       29716    30253     +537     
  Branches    10800    11027     +227     
==========================================
+ Hits        28959    29498     +539     
+ Misses        710      708       -2     
  Partials       47       47              

☔ 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.

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.

1 participant