matter
matter copied to clipboard
Possible typo in selector
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.
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);
}