Skip to content
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: Update default accent color #50193

Merged
merged 15 commits into from
May 5, 2023
Prev Previous commit
Next Next commit
Button: Add theming TODO comments in stylesheet
  • Loading branch information
mirka committed Apr 28, 2023
commit 96f8924ae07a599ec6921a553d446ccfb759a51a
2 changes: 2 additions & 0 deletions packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@
padding: $grid-unit-15 * 0.5; // This reduces the horizontal padding on tertiary/text buttons, so as to space them optically.

&:hover:not(:disabled) {
// TODO: Prepare for theming (https://github.com/WordPress/gutenberg/pull/45466/files#r1030872724)
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
}

&:active:not(:disabled) {
// TODO: Prepare for theming (https://github.com/WordPress/gutenberg/pull/45466/files#r1030872724)
Comment on lines +166 to +171
Copy link
Member Author

Choose a reason for hiding this comment

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

These styles were added after our initial theming effort. Adding a TODO comment now.

background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
}

Expand Down