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

Possible typo in selector #43

Open
ComedyTomedy opened this issue Jul 16, 2024 · 1 comment
Open

Possible typo in selector #43

ComedyTomedy opened this issue Jul 16, 2024 · 1 comment

Comments

@ComedyTomedy
Copy link

The rule at .matter-switch > input:disabled + span only applies an alpha channel when the var --matter-onsurface-rgb isn't defined, which looks like a mistake, and I think the alpha part is intended to always apply.

I gather this project is on pause, just leaving this quick note in case it applies to Matter 2, or any other derivatives.

@ComedyTomedy
Copy link
Author

another color typo

https://github.com/finnhvman/matter/blob/master/src/utilities/colors/colors.css

Uses error color instead of onerror in the 2nd declaration.


.matter-error {
    --matter-theme-rgb: var(--matter-error-rgb, 238, 0, 0);
    --matter-ontheme-rgb: var(--matter-error-rgb, 255, 255, 255);
}

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

No branches or pull requests

1 participant