Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Typography - Bold Italic doesn't work. #55

Closed
jprlz opened this Issue · 1 comment

2 participants

@jprlz

Hi, Thanks to Davin and other contributors for this great work.
my problem is that I can't get Bold Italic to work. I noticed that
' font-style: '. $typography['style'] get the value for that option.
but bold will only work with font-weight right? and italic will work with font-style.
so I don't know how to get it to work to gather.
can some one help thanks.

@devinsays
Owner

If you do the font declaration all at once it works, e.g.

font: sans-serif 14px/16px bold italic

But agreed, it's a bit janky. If you want to declare them separately you'll just have to check the strings, maybe even write a function to separate them. If I was able to redo this from scratch, I would, but at this point it would break a lot of existing projects.

@devinsays devinsays closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.