headerGray and bodyGray configuration keys don't work
See original GitHub issueHi,
The baseFontSize and scaleRatio work as intended but changing the headerGray and bodyGray values don’t seem to do anything in the output
Maybe my syntax is incorrect? (also tried it with single quotes and percent symbols)
typography.js
import Typography from 'typography'
const typography = new Typography({
baseFontSize: '21px',
scaleRatio: 4,
headerGray: 90,
bodyGray: 90,
})
export default typography
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
Change header/body gray to header/body color & don't ...
Only supporting gray colors is confusing plus it's not at all obvious that ... headerGray and bodyGray configuration keys don't work #134.
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 Free
Top 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
http://kyleamathews.github.io/typography.js/ still lists them and has a demo of changing them. Thought I was crazy 😓
Hi.
The doc pages regarding this issue are still out of date, as of Jan/2020. I spent an unreasonable amount of time trying to figure out what I was doing wrong just to finally realize that the website was out of date…
It would be incredibly nice towards users to update the
headerGray
andbodyGray
info on the website 😉Thanks