Styling text
See original GitHub issueWhen configuring an object of type text
in layers.js, I see that I can set fontFamily, and fontSrc.
However, it seems like there are not equivalent fontStyle and fontWeight properties.
Is there a way I can set font weight for a text object ala css font-weight
? I’m hoping to be able to use the black weight of our primary font, but without that property I’m not sure how I would do it.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Fundamental text and font styling - Learn web development
In this article we'll start you on your journey towards mastering text styling with CSS. Here we'll go through all the basic fundamentals...
Read more >CSS Text - W3Schools
This text is styled with some of the text formatting properties. The heading uses the text-align, text-transform, and color properties.
Read more >Stylish Text Generator (𝓬𝓸𝓹𝔂 𝒶𝓃𝒹 𝓹𝓪𝓼𝓽𝓮 ♥)
This is an online stylish text generator. You can generate stylish text by putting your regular text in the first box and then...
Read more >Basic CSS: Text Styling in CSS - GCFGlobal
Learn how to use CSS to style the text on a webpage by changing its size, font, boldness, and alignment.
Read more >YayText: A text styling tool for Facebook, Twitter, etc.
Generate a variety of cool unicode font styles that you can copy and paste into Facebook, Twitter, etc.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Even better, found half an hour to do it now - currently done as PR #71, I’ll have this reviewed and pushed under a new CardKit version tomorrow!
And I also realized it would be nice to have a slider control to allow our users here to adjust font-weight. So here’s another pull request for that: https://github.com/times/cardkit/pull/74