You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the colors to their high contrast equivalent.
Like px-to-rem (helper created by us) we can create a helper to which we pass a color and automatically this adds the @media prefers-contrast high with the corresponding color (this color will be autocomputed).
We can also make this helper include more things related to color in the future (Even invert the color if it is according to the color mode).
Example of usage
h1 {
background-color: color(#f14b00);
}
The text was updated successfully, but these errors were encountered:
Change the colors to their high contrast equivalent.
Like
px-to-rem
(helper created by us) we can create a helper to which we pass a color and automatically this adds the@media prefers-contrast high
with the corresponding color (this color will be autocomputed).We can also make this helper include more things related to color in the future (Even invert the color if it is according to the color mode).
Example of usage
The text was updated successfully, but these errors were encountered: