Support for font variants?


#1

I’d like to use the “light” variant of Source Code Pro, but using “Source Code Pro Light” as the font family isn’t recognized – any way to achieve this in the current build?


#2

It looks like using “SourceCodePro-Light” works.


#3

Oh cool, I was using the following in my stylesheet:

.editor {
  &:not(.mini) {
    font-weight: lighter;
  }
}

But I think your solution will be better in the long run.


#4

Worked for me – thanks!


#5

This needs to be promoted a lot more… Also for those who managed to install the entire set of the new SF Mono fonts and find that they can only access they heavy typeface, use “SFMono-Regular”.