Re: [csswg-drafts] [css-fonts] font-weight: bolder and lighter are counter-intuitive (#2764)

> > `font-variation-settings: "wght" calc( current() + 250);`
> > this is a multi value property like there are many in CSS
> 
> Right. In particular, this sets the `wght` and **resets everything else** that `font-variation-settings` might have contained.

oh, I forgot that part :/ Thanks for the heads up!
However, this should work though (not tested):
```css
--mo-variations: "wght" 300, "xhgt" 0.;
font-variation-settings: "wght" calc( current() + 250) , var(--mo-variations);
```



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

Received on Thursday, 30 January 2020 08:26:56 UTC