Skip to content

Is there a way to configure a "global" theme that is automatically used everywhere? #240

Answered by gonzalezreal
czottmann asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @czottmann,

The markdownTheme modifier adds the theme to the environment of a view tree. So, if you use it in the app's root view, it will propagate to every child Markdown view, no matter how deep in the view hierarchy it is.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@czottmann
Comment options

Answer selected by czottmann
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