Re: [csswg-drafts] [css-values] String concatentation (#542)

Hi, I'd like to add another use case I haven't seen mentioned here: concatenating units to variables for css functions that require them. For example, for passing hsl components that need to be modified in css: 

```
--h: 35;
--s: 100;
--l: 50;
background-color: hsl(var(--h), var(--s), calc(var(--l) * 0.5));   /* does not work */
/*                hsl(var(--h), concat( var(--s), "%" ), concat(calc( var(--l) * 0.5 )), "%" );  */
``` 

-- 
GitHub Notification of comment by clulece
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/542#issuecomment-1483731202 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 25 March 2023 05:36:24 UTC