ui icon indicating copy to clipboard operation
ui copied to clipboard

Bold style name not working

Open ghmendonca opened this issue 6 years ago • 3 comments

I can't make my texts bold, actually none of the typography components gets bold with the style name bold. The others style names works, the bold seems to be the only one that doesn't work.

The fonts are been loaded in my App.js since I am using crna, but I don't think this has to do with this issue. Anyone knows why and how to fix it?

ghmendonca avatar Jul 05 '18 00:07 ghmendonca

I'm having this same issue - would love an update on this.

Applying style={{ fontFamily: 'Rubik-Bold' }} does work so this leads me to believe it is an issue with the bold styleName.

joelbowen avatar Aug 22 '18 11:08 joelbowen

@joelbowen I am setting the font family like you when I want the text to be bold. The problem is that there is a lot of styleNames that simply just doesn't work, and I was investigating the shoutem style file and the styleNames that doesn't work it's because they didn't changed the style that needed to change, for example the bold styleName doesn't set the fontFamily to Rubik Bold.. So they could or fix the styles or remove the styleNames that doesn't work from the documentation.

gumendonca avatar Aug 22 '18 16:08 gumendonca

Would fixing it be a simple PR @gumendonca?

joelbowen avatar Aug 23 '18 13:08 joelbowen