Skip to content

Conversation

@SirLouen
Copy link
Member

Why?

Minor fix, during chore code analysis in the works of #75096 I noted that this was being duplicated unnecessarily,

How?

Simply importing the default styles and removing duplication.

@SirLouen SirLouen requested a review from youknowriad January 30, 2026 15:29
@SirLouen SirLouen self-assigned this Jan 30, 2026
@SirLouen SirLouen requested a review from ajitbohra as a code owner January 30, 2026 15:29
@SirLouen SirLouen added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components labels Jan 30, 2026
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: SirLouen <sirlouen@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@use "./validated-form-controls/style.scss" as *;

// Include the default WP Components color variables.
// TODO: Remove this once all admin-scheme variables are accounted for in the wp-components fallback values.
Copy link
Member

Choose a reason for hiding this comment

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

This comment seems to imply that we don't actually want this admin-scheme to be applied, that it should be achieved through fallback values in component styles. I feel like we're no longer setting an expectation of that goal with this refactor.

Copy link
Member Author

Choose a reason for hiding this comment

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

By adding default colors I'm assuming that as this new pattern grows expectations will be fulfilled by convenience, dont you think so?

Do you think that this still is going to hold any value for the future?

@aduth aduth requested a review from a team January 30, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Components /packages/components [Type] Code Quality Issues or PRs that relate to code quality

2 participants