Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style selectors not working as expected #76

Open
aitchDashGee opened this issue Dec 22, 2024 · 1 comment
Open

Style selectors not working as expected #76

aitchDashGee opened this issue Dec 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@aitchDashGee
Copy link

aitchDashGee commented Dec 22, 2024

Hi!

Specifying the following:

    new Style<Button>(x => x.Class(":pointerover"))
        .Background(Brushes.LightBlue),

Leads to every control with the pointer over changing their colors to light blue.

This happens both in Component.BuildStyles() and Control.Styles().

I've tested with several versions, the latest being 11.2.0-beta4

PS! I really like this approach to building UIs. :)

@aitchDashGee
Copy link
Author

image
image

@gritsenko gritsenko self-assigned this Dec 22, 2024
@gritsenko gritsenko added the bug Something isn't working label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants