Skip to content

#404 reimplement NEW_C4_STYLE=1, add ROUNDED_STYLE=1 add themes#410

Merged
kirchsth merged 2 commits intoplantuml-stdlib:masterfrom
kirchsth:feature/404_Styles_Themes
Jan 10, 2026
Merged

#404 reimplement NEW_C4_STYLE=1, add ROUNDED_STYLE=1 add themes#410
kirchsth merged 2 commits intoplantuml-stdlib:masterfrom
kirchsth:feature/404_Styles_Themes

Conversation

@kirchsth
Copy link
Copy Markdown
Member

@kirchsth kirchsth commented Jan 8, 2026

fixes #404 (#400, #401) and additional enables it rounded style via (command line) setting and adds 4 new themes.

  • ´!NEW_C4_STYLE=1´: component are remain drawn with orig, blue/gray background and node background remains white. Other color are still swapped (works only with the 4 base themes).
  • ´ROUNDED_STYLE=1´: rounded corners can be activated via property or command line argument
  • 4 new themes C4_blue_new, C4_brown_new, C4_green_new and C4_violet_new (own elements are with withe background like wireframe, only external elements have a gray background)

A detailed description of the NEW_C4_STYLE fix, new rounded style and the 4 new themes can be found on Themes.md of my extended branch. All changes can be checked via the extended branch too.

It could be that the Github pages displays only a cached version, therefore I added an image of it too.

C4_blue with NEW_C4_STYLE=1 and some empty lines that cache is ignored - please open link

@Potherca and @Felix-neko: can you please review my changes.

Thank you and best regards
Helmut

PS.: if you know better blue/brown/green/violet colors please add it in the comment that I can make an update

…dd themes

- ´!NEW_C4_STYLE=1´: component are remain drawn with orig, blue/gray background and node background remains white.
  Other color are still swapped (works only with the 4 base themes).
- ´ROUNDED_STYLE=1´: rounded corners can be default
- 4 new themes `C4_blue_new`, `C4_brown_new`, `C4_green_new` and `C4_violet_new`
   (own elements are with withe background like wireframe, only external elements have a gray background)
@kirchsth kirchsth added this to the v2.13.0 milestone Jan 8, 2026
Copy link
Copy Markdown
Member

@Potherca Potherca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @kirchsth !

Found nothing functionally wrong. Some minor nitpicks regarding the docs.

Feel free to change or ignore at your own discretion.

@kirchsth kirchsth merged commit 63ef15d into plantuml-stdlib:master Jan 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NEW_C4_STYLE components and nodes have a dark (black) impression

2 participants