-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Components: Move accent colors to theme context #53631
Conversation
Size Change: +13 B (0%) Total Size: 1.51 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! 🚀
Flaky tests detected in c2b3e70. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5864668255
|
What?
This PR renames the accent color values to be declared in theme context.
Why?
We're moving towards utilizing the components theming system more broadly, and that's a step in that direction. See #53347 (comment) for more details and motivation.
How?
We're basically renaming:
COLORS.ui.theme
toCOLORS.theme.accent
COLORS.ui.themeDark10
toCOLORS.theme.accentDarker10
Testing Instructions
Verify there are no visual changes and all checks are green.
Testing Instructions for Keyboard
None
Screenshots or screencast
None