-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text
markdown style overrides other text styles.
#37
Comments
Hi @alvaromb! I started working on this issue and had promising results. However, it required a little bit of refactoring but also testing all the rules. Your PRs will be very welcome 💪 |
The same issue seems to appear also with other tags, such as link, strong and so on. It seems to be caused by text tag always being at the root of every text, overriding any specific overlapping definitions, such as link or strong. Essentially this prevents from changing default text color while also using different color for the links. Any ideas how to overcome this? |
This would not be a problem if text wasn't at the "root" of every other textual tag. Or if there was a way to define default text styles for the top most Text tag that then could be overriden by other tags. |
hey! |
This would be handle in v2 👍 |
If we configure the markdown to have a
text
style prop like this:The text
color
prop in theheading1
entry will be overridden. In order to customise the text color of the heading, thetext
entry must be removed.PS: I know I've opened several bugs, I'll try to send PRs for them as soon as I can.
The text was updated successfully, but these errors were encountered: