Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPara components should use `theme.fontSize.base` or `theme.fontSize.text` #1661
Labels
Comments
|
At the moment, my solution is to duplicate the theme as a direct style to the Para component. Something like:
|
|
I think it has And the Feel free to send a pull request with a fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Current behavior
When stylegudist is configured to use a font size for base and/or text to be anything other than 16px, the paragraph content generated from markdown does not use the specified font size.
Question: Is a markdown paragraph considered to be either
baseortext? I am assuming it should betextat the very least.To reproduce
Config:
Some markdown file:
styleguidist/example#8
Expected behavior
The generated paragraph content should use the theme provided.
Or there should be some explanation of how the "theme" is defined: How is a paragraph not "text" or "base"?