Skip to content
Discussion options

You must be logged in to vote

The fontsize control works in px (or pt if you set defaultFontSizePoints: 'pt') — em/rem isn't a built-in unit option. If you need em/rem you'd apply it yourself: either a custom control that sets font-size with your unit, or post-process the output. There's no config flag to switch the built-in fontsize list over to em/rem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xdan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants