Do config files and themes work together?

0 votes
asked Dec 1, 2021 in Question / help by anonymous

I have a config file

!theme plain
hide circle
skinparam linetype polyline
skinparam SclassAttributeIconSize 0

And it does not work. But if I comment out the theme-line, it does. Is this a bug related to the no-comments-in-config-files bug, or am I misunderstanding something?

1 Answer

0 votes
answered Dec 1, 2021 by plantuml (294,960 points)

Maybe you have to upgrade to last version

The following example is working for us.

@startuml
!theme plain
hide circle
skinparam SclassAttributeIconSize 0
class foo1
class foo2
class foo3
foo1 --> foo2
foo1 --> foo3
@enduml
commented Dec 1, 2021 by plantuml (294,960 points)
...but maybe put a !theme directive in a config file does not work :-)

We have to test it.
...