Skip to content

Conversation

@manhphuc
Copy link

This change styles the destructive “Discard” release button as a secondary button, so it no longer appears the same as the primary “Confirm” action.

It keeps the existing behaviour intact and only adjusts the visual hierarchy of the actions.

Fixes: https://meta.trac.wordpress.org/ticket/8142

…econdary to match design expectations. Fixes #8142.
Copy link
Member

@dd32 dd32 left a comment

Choose a reason for hiding this comment

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

PR does nothing.

Screenshot 2025-12-10 at 3 53 53 pm

@manhphuc
Copy link
Author

Thanks for the feedback!

You were absolutely right — my initial change only updated the class and didn't adjust the visual styling.

I've updated the PR to:

  • Add a dedicated .discard-release style to the wporg-plugins-2024 theme so the “Discard” button correctly appears as a secondary/outline action.
  • Keep the “Confirm” button as the primary action.

The “Discard” button now reflects the intended secondary hierarchy in the release confirmation dialog.
Happy to refine the styling or selectors further if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants