1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

Merge pull request #555 from matthew16550/themes

Add some more themes
This commit is contained in:
arnaudroques 2021-05-10 22:11:38 +02:00 committed by GitHub
commit 534bab1df4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 996 additions and 0 deletions

View File

@ -0,0 +1,175 @@
''
'' A white on blue theme based on Amiga Workbench 1.x
'' https://en.wikipedia.org/wiki/Workbench_(AmigaOS)#Workbench_1.x
''
'' Original Author: Matthew Leather
''
!$THEME = "amiga"
!$BLACK = "#000121"
!$BLUE = "#0B58A8"
!$ORANGE = "#FDA325"
!$RED = "#DB252B"
!$WHITE = "#FFFFFF"
!$BGCOLOR = $BLUE
!$FGCOLOR = $WHITE
!ifndef $FONT_NAME
!$FONT_NAME = "Verdana"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $ORANGE
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
groupHeader {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
referenceHeader {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
separator {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy nosolid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $BGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $ORANGE
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}

View File

@ -0,0 +1,154 @@
''
'' A white on blue theme based on the Blueprint reproduction process
'' https://en.wikipedia.org/wiki/Blueprint
''
'' Original Author: Matthew Leather
''
!$THEME = "blueprint"
!$BGCOLOR = "#003153"
!$FGCOLOR = "#D9D3D0"
!ifndef $FONT_NAME
!$FONT_NAME = "Verdana"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $FGCOLOR
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy nosolid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $FGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $FGCOLOR
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}

View File

@ -0,0 +1,177 @@
''
'' An orange on black theme based on monochrome CRT monitors
''
'' (The colors came from https://superuser.com/a/1206781)
''
'' Original Author: Matthew Leather
''
!$THEME = "crt-amber"
!$DARK_AMBER = "#FFB000"
!$LIGHT_AMBER = "#FFCC00"
!$BGCOLOR = "#282828"
!$FGCOLOR = $DARK_AMBER
!ifndef $FONT_NAME
!$FONT_NAME = "Verdana"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $LIGHT_AMBER
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
box {
LineStyle 12-18
LineThickness 3
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
groupHeader {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
referenceHeader {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
separator {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy solid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $BGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $LIGHT_AMBER
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}

View File

@ -0,0 +1,174 @@
''
'' A green on black theme based on monochrome CRT monitors
''
'' (The colors came from https://superuser.com/a/1206781)
''
'' Original Author: Matthew Leather
''
!$THEME = "crt-green"
!$BGCOLOR = "#282828"
!$FGCOLOR = "#33FF33"
!ifndef $FONT_NAME
!$FONT_NAME = "Verdana"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $FGCOLOR
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
box {
LineStyle 12-18
LineThickness 3
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
groupHeader {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
referenceHeader {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
separator {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontStyle bold
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy solid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $BGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $FGCOLOR
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $FGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}

View File

@ -0,0 +1,154 @@
''
'' A purple on grey theme based on the Mimeograph reproduction process
'' https://en.wikipedia.org/wiki/Mimeograph
''
'' Original Author: Matthew Leather
''
!$THEME = "mimeograph"
!$BGCOLOR = "#D9D3D0"
!$FGCOLOR = "#9275B6"
!ifndef $FONT_NAME
!$FONT_NAME = "Verdana"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $FGCOLOR
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy nosolid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $FGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $FGCOLOR
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}

View File

@ -0,0 +1,162 @@
''
'' A simple black on white theme (with blue hyperlinks)
''
'' Original Author: Matthew Leather
''
!$THEME = "plain"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "white"
!endif
!if %not(%variable_exists("$FGCOLOR"))
!$FGCOLOR = "black"
!endif
!if %not(%variable_exists("$HYPERLINK_COLOR"))
!$HYPERLINK_COLOR = "blue"
!endif
!ifndef $FONT_NAME
!$FONT_NAME = "Verdana"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $HYPERLINK_COLOR
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy nosolid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $FGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $HYPERLINK_COLOR
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}