Skip to content

fix: Limit Box visualAccent to One Theme - #5361

Draft
at-susie wants to merge 1 commit into
mainfrom
dev-v3-visualaccent-availability
Draft

at-susie wants to merge 1 commit into
mainfrom
dev-v3-visualaccent-availability

Conversation

@at-susie

Copy link
Copy Markdown
Member

Description

Restores visualAccent to the Console/Core Box API by removing the system tag, while scoping its styles to One Theme. Adds a development warning under Visual Refresh, plus API regression and warning tests.

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

How has this been tested?

  • NODE_ENV=production INCLUDE_ONE_THEME=true npm run quick-build
  • Box unit tests, including box-dev-warnings.test.tsx (37 tests)
  • Documenter snapshot test (107 tests, 106 snapshots)
  • ESLint on changed TypeScript/TSX files
  • Stylelint on src/box/visual-accent.scss
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.

This branch was successfully deployed

3 active deployments
dev-pages-react16 — 3737e45d Deployed Nov 26, 2026 by at-susie via deploy (React 16) / deploy #3511
dev-pages-react18 — 3737e45d Deployed Nov 26, 2026 by at-susie via deploy (React 18) / deploy #3511
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