Set a Default Diagram Style
Last modified by Vincent Massol on 2026/11/23 22:43
Steps
PlantUML Macro 2.6+ Give all the PlantUML diagrams of the wiki the same look, for example a theme and an accessible color palette, without repeating it in each diagram. How the style applies is explained in PlantUML.
- Open the wiki administration and go to the "PlantUML" section, added by the PlantUML Administration extension.
- In "Default Diagram Style", enter the PlantUML lines to insert at the top of every diagram, for example:
!theme bluegray skinparam ArrowColor #0568AE skinparam participant { BackgroundColor #0568AE FontColor #FFFFFF }
- Click "Save".
- View a page holding a PlantUML diagram that doesn't set its own !theme. The diagram uses the default style.
