matter icon indicating copy to clipboard operation
matter copied to clipboard

Possible typo in selector

Open ComedyTomedy opened this issue 1 year ago • 1 comments

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 avatar Jul 16 '24 20:07 ComedyTomedy

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);
}

ComedyTomedy avatar Jul 16 '24 20:07 ComedyTomedy