-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Replace cursor: pointer usage with design token #76221
Copy link
Copy link
Closed
Labels
Design SystemIssues related to the system of combining components according to best practices.Issues related to the system of combining components according to best practices.[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Metadata
Metadata
Assignees
Labels
Design SystemIssues related to the system of combining components according to best practices.Issues related to the system of combining components according to best practices.[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
💫 Done
The
--wpds-cursor-controltoken (added in #75697) allows the cursor style for interactive non-link controls to be configured via the design system. All instances in the codebase should be replaced with this token so a global switch is possible.@wordpress/block-directoryBlock Directory: Use--wpds-cursor-controldesign token #77330@wordpress/block-editorBlock Editor: Use--wpds-cursor-controldesign token #77354@wordpress/block-library@hbhalodia Block Library: Use--wpds-cursor-controldesign token #77355 → Will exclude entire package from lint rule@wordpress/bootBoot: Use--wpds-cursor-controldesign token #77357@wordpress/commandsCommands: Use--wpds-cursor-controldesign token #77358@wordpress/components--wpds-cursor-controlfor interactive controls (Sass only) #76786@wordpress/dataviewsDataViews: Use--wpds-cursor-controldesign token for interactive controls #77259@wordpress/edit-postEditPost: Use--wpds-cursor-controldesign token for interactive controls #77360@wordpress/edit-site@R1shabh-Gupta EditSite: Use--wpds-cursor-controldesign token for interactive controls #77362@wordpress/editor@himanshupathak95 Editor: Use--wpds-cursor-controldesign token #77376@wordpress/fieldsFields: Use--wpds-cursor-controldesign token #77373@wordpress/global-styles-ui@R1shabh-Gupta GlobalStylesUI: Use--wpds-cursor-controldesign token for interact… #77335@wordpress/uiUI: Use--wpds-cursor-controldesign token #76218@wordpress/widgetsWidgets: Use--wpds-cursor-controldesign token #77368@wordpress/workflowWorkflow: Use --wpds-cursor-control design token #77369I'm planning to apply this lint rule to the entire repo once the initial migrations are completed.