Summary
That is all for this chapter. You learned how to use themes to change the appearance of the diagrams rendered by Mermaid. You learned how to change the configuration in order to set a theme both on a site-wide level using the initialize
method and for individual diagrams using directives. You proceeded into theming and learned how to create a reusable custom theme using the built-in dynamic theming engine in Mermaid. There, you learned that the theming engine uses a number of color variables to generate a theme and how said variables affect the diagrams. Finally, you gained an insight into how to evaluate a custom theme in a simple way, using showcase diagrams.
Now after having learned so much about how to set themes and configuration options for Mermaid, it's finally time for you to start drawing diagrams. In the next chapter, we will start by looking at flowcharts, which are one of the most commonly used diagram types in the world.