diff --git a/src/C4Sharp/Diagrams/Plantuml/PlantumlContext.cs b/src/C4Sharp/Diagrams/Plantuml/PlantumlContext.cs index 0e1718a..471bd0c 100644 --- a/src/C4Sharp/Diagrams/Plantuml/PlantumlContext.cs +++ b/src/C4Sharp/Diagrams/Plantuml/PlantumlContext.cs @@ -112,7 +112,7 @@ private void InternalExport(IEnumerable diagrams) /// /// ReSharper disable once MemberCanBePrivate.Global public void Export(string path, IEnumerable diagrams, IDiagramTheme? theme = null) => - InternalExport(path, diagrams.Select(d => d.Build(theme))); + InternalExport(path, diagrams.Select(d => d.Build(theme ?? new DefaultTheme()))); /// /// It creates a Puml file into the default directory "./c4"