Repository navigation
EditSite: Use --wpds-cursor-control design token for interactive controls - #77362
R1shabh-Gupta wants to merge 2 commits into
Conversation
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
It would probably be better to clean this up, rather than do a token replacement. |
|
There's still a |
|
I have created a follow-up PR to remove the unused CSS rulesets: #77494. Once the unused CSS rulesets are removed, no token replacement is required for those selectors. Since we are not making any changes to cc: @mirka |
Perfect, thank you. |
What?
Part of #76221
Replaces a hardcoded
cursor: pointerdeclaration in@wordpress/edit-sitewithcursor: var(--wpds-cursor-control).Why?
cursor: pointerto use the design token for better maintenance.How?
cursor: pointerand usedcursor: var(--wpds-cursor-control).Testing Instructions
Since
.edit-site-post-list__featured-image-buttonappears to be unused in the codebase, there is no frontend element to visually verify.Use of AI Tools
Use Claude Code to review code and create pull request description.