Skip to content

Typography - Bold Italic doesn't work. #55

jprlz opened this Issue Jul 24, 2012 · 1 comment

2 participants

jprlz commented Jul 24, 2012

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.


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 Jul 31, 2012
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.