How to change default skin?

0 votes
asked Sep 11, 2019 in Question / help by RĂ¼diger
Hi, I would like to be able to change e.g. the default #FEFECE background color to a different value. For many diagram types this is possible via skinparam but seemingly not for work breakdown structures. Thanks (for an answer and for this incredibly helpful tool!!!)

1 Answer

0 votes
answered Sep 11, 2019 by plantuml (226,800 points)

Well, we are currently thinking about a completely new way of changing colors/fonts.

MindMap diagram and WBS diagram have been choosen as beta tools for this new feature (which will be deployed some days for all diagrams).

You'll find some examples on http://plantuml.com/style-evolution

Since this is still under development, your idea/suggestion are welcome.

A basic example :

@startwbs
<style>
wbsDiagram {
  Linecolor black
  BackgroundColor Red
  FontColor White
  RoundCorner 10
}
</style>
* World
** America
*** Canada
*** Mexico
**** Chihuahua
*** USA
**** Texas
***< New York
** Europe
*** England
*** Germany
*** Spain
@endwbs

commented Sep 12, 2019 by RĂ¼diger
Thanks, that is better than I hoped for. I will start using it and follow up with you regarding findings and wishes.

Excellent work!
commented Sep 12, 2019 by albert (2,900 points)
edited Sep 12, 2019 by albert

Regarding the part:

<style>
wbsDiagram {
  Linecolor black
  BackgroundColor Red
  FontColor White
  RoundCorner 10
}
</style>

I see it is also possible to use a CSS like syntax i.e. use a colon to separate name and value and a semicolon at the end of the line. I think it would be better to show this as a default.

By accident I typed BackgroundColor: x00ff00; instead of  

BackgroundColor: U00ff00; but I didn't get an error message.

...