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
{{ message }}
Repository navigation
Complete support of the hsl() and hsla() specs #19
.my-class {
/* hue formats in angles */color: hsl(3rad, 28%, 84%); // hue in radiants (rad)color: hsl(-21grad, 28%, 84%); // hue in degrees (grad)color: hsl(0.75turn, 28%, 84%, .5); // hue in turns (turn)/* opacity or absence of opacity: hsla() is an alias for hsl() */color: hsl(222, 28%, 84%, .5); // hsl() accepts opacitycolor: hsla(222, 28%, 84%); // hsla() is valid without opacity/* space as separator */color: hsl(22228%84%); // coma isn’t the only valid separatorcolor: hsla(22228%84%/.5); // when space is separator, opacity is behind `/`
}
I’d love if ColorHighlight could implement all of these. I have no Python knowledge, so unfortunately I can’t help with the implementation.
Activity
[-]Support of space separator in hsl() and hsla()[/-][+]Complete support of the hsl() and hsla() specs[/+]stdedos commentedon Oct 29, 2022
This seems to help 12763d3
[-]Complete support of the hsl() and hsla() specs[/-][+]Complete support of the `hsl()` and `hsla()` specs[/+]