Skip to content

Conversation

@srietkerk
Copy link
Contributor

Change explained here: microsoft/pxt-arcade#7212

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes hover styling for simulator buttons in high contrast mode by conditionally applying the filter: none style. The change ensures that the filter property is only removed on hover when NOT in high contrast mode, allowing high contrast mode to maintain proper visual affordance for button hovers.

  • Removed unconditional filter: none from the hover state
  • Added conditional filter: none that only applies when not in high contrast mode (.main:not(.hc))

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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