close
Skip to content

Workflow: Use --wpds-cursor-control design token#77369

Merged
mirka merged 1 commit into
WordPress:trunkfrom
SainathPoojary:fix/workflow-cursor-control-token
Apr 16, 2026
Merged

Workflow: Use --wpds-cursor-control design token#77369
mirka merged 1 commit into
WordPress:trunkfrom
SainathPoojary:fix/workflow-cursor-control-token

Conversation

@SainathPoojary
Copy link
Copy Markdown
Contributor

@SainathPoojary SainathPoojary commented Apr 15, 2026

What?

Part of #76221

Why?

Update the instance of cursor: pointer to use the --wpds-cursor-control design token so interactive control cursor behavior can be centrally configured.

How?

Replaced hardcoded cursor: pointer with cursor: var(--wpds-cursor-control) in the Workflow menu's command item ([cmdk-item]) stylesheet.

Testing Instructions

  1. Go to WP Admin → Settings → Gutenberg → Experiments and enable "Workflow Palette", then save.
  2. On any admin page, press Cmd+J (macOS) or Ctrl+J (Windows/Linux) to open the Workflow Palette.
  3. Hover over the command items in the list.
  4. Inspect the element and verify cursor: var(--wpds-cursor-control) is applied on [cmdk-item].
  5. Confirm cursor behavior is unchanged (still shows pointer).

Screenshots or screencast

Before After
image image

@SainathPoojary SainathPoojary marked this pull request as ready for review April 15, 2026 18:11
@github-actions
Copy link
Copy Markdown

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: SainathPoojary <sainathpoojary@git.wordpress.org>

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

@mirka mirka added the [Type] Enhancement A suggestion for improvement. label Apr 16, 2026
@mirka mirka self-requested a review April 16, 2026 11:06
Copy link
Copy Markdown
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Thanks!

@mirka mirka merged commit cdae751 into WordPress:trunk Apr 16, 2026
47 of 48 checks passed
@github-actions github-actions Bot added this to the Gutenberg 23.1 milestone Apr 16, 2026
ciampo pushed a commit that referenced this pull request Apr 16, 2026
Co-authored-by: SainathPoojary <sainathpoojary@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
@alecgeatches alecgeatches added the [Package] Components /packages/components label May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Components /packages/components [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants