Темы
Следуя работе Бретта Шварца, мы интегрировали несколько тем в основную библиотеку ядра. Поскольку эти темы включены в библиотеку, она работает "из коробки": вам не нужно ничего устанавливать на своей стороне. Вам просто нужно использовать директиву !theme :
Several websites are listing available themes:
|
🎉 Copied!
|
![]() |
$success("<msg>")
$failure("<msg>")
$warning("<msg>")
🎉 Copied!
|
![]() |
puml-theme-foo.puml
where foo
is the name of the theme.
To invoke a local theme, you have to use the following directive:
!theme foo from /path/to/themes/folder
puml-theme-foo.puml
where foo
is the name of the theme.
To use a theme from a remote repository, you have to use the following directive:
!theme amiga from https://raw.githubusercontent.com/plantuml/plantuml/master/themes
If you find any interesting theme, you can also propose a pull request so that we integrate this theme into the main core library.