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

Merge pull request #776 from bschwarz/master

font change for milestone and correct color variables
This commit is contained in:
PlantUML 2021-11-16 08:28:50 +01:00 committed by GitHub
commit 7f29798e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 60 additions and 56 deletions

View File

@ -105,6 +105,26 @@ skinparam useBetaStyle false
!$SUCCESS_TEXT = $WHITE
!$WARNING_TEXT = $WHITE
!$DANGER_TEXT = $WHITE
!$PRIMARY_TEXT = $WHITE
!$HEADER_TEXT = $WHITE
''
!if ($PUML_OUTLINE == "true")
!$HEADER_TEXT = $PRIMARY_TEXT
!$PRIMARY_TEXT = $PRIMARY_LIGHT
!$INFO_TEXT = $INFO_LIGHT
!$WARNING_TEXT = $WARNING_LIGHT
!$DARK_BG = $PUML_BGCOLOR
!$INFO_BG = $PUML_BGCOLOR
!$DANGER_BG = $PUML_BGCOLOR
!$WARNING_BG = $PUML_BGCOLOR
!$SECONDARY_BG = $PUML_BGCOLOR
!else
!$DARK_BG = $DARK
!$INFO_BG = $INFO
!$DANGER_BG = $DANGER
!$WARNING_BG = $WARNING
!$SECONDARY_BG = $SECONDARY
!endif
''
'' Called to make the text in the color of SUCCESS
''
@ -154,24 +174,6 @@ skinparam useBetaStyle false
!endif
!endprocedure
''
!if ($PUML_OUTLINE == "true")
!$HEADER_TEXT = $PRIMARY_TEXT
!$PRIMARY_TEXT = $PRIMARY_LIGHT
!$INFO_TEXT = $INFO_LIGHT
!$WARNING_TEXT = $WARNING_LIGHT
!$DARK_BG = $PUML_BGCOLOR
!$INFO_BG = $PUML_BGCOLOR
!$DANGER_BG = $PUML_BGCOLOR
!$WARNING_BG = $PUML_BGCOLOR
!$SECONDARY_BG = $PUML_BGCOLOR
!else
!$DARK_BG = $DARK
!$INFO_BG = $INFO
!$DANGER_BG = $DANGER
!$WARNING_BG = $WARNING
!$SECONDARY_BG = $SECONDARY
!endif
''
'' HTTP Methods
''
!_POST = "<color #007a3e>POST</color>"
@ -184,10 +186,11 @@ skinparam useBetaStyle false
'' Style settings
''
<style>
mindmapDiagram {
root {
BackgroundColor $BGCOLOR
BackgroundColor $PUML_BGCOLOR
FontColor $PRIMARY_TEXT
HyperLinkColor $ORANGE
HyperLinkColor $INFO_BG
LineColor $PRIMARY_DARK
LineThickness 1
Margin 10
@ -197,7 +200,7 @@ skinparam useBetaStyle false
node {
Padding 15
roundcorner 20
BackgroundColor $PRIMARY-$PRIMARY_DARK
BackgroundColor $PRIMARY_BG-$PRIMARY_DARK
}
caption {
LineThickness 0
@ -206,35 +209,36 @@ skinparam useBetaStyle false
LineThickness 0
}
groupHeader {
BackgroundColor $SECONDARY
FontColor $INFO
BackgroundColor $SECONDARY_BG
FontColor $INFO_BG
FontStyle bold
}
header {
LineThickness 0
}
referenceHeader {
BackgroundColor $BGCOLOR
FontColor $DARK
BackgroundColor $PUML_BGCOLOR
FontColor $DARK_BG
FontStyle bold
}
separator {
BackgroundColor $FGCOLOR
FontColor $BGCOLOR
FontColor $PUML_BGCOLOR
FontStyle bold
}
title {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
FontColor $PRIMARY
BorderColor $SECONDARY
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_BG
FontColor $PRIMARY_TEXT
BorderColor $SECONDARY_BG
}
}
nwdiagDiagram {
network {
$primary_scheme()
LineColor $PRIMARY
LineColor $PRIMARY_BG
LineThickness 1.0
FontColor $PRIMARY_DARK
}
@ -246,7 +250,7 @@ nwdiagDiagram {
LineColor $PRIMARY_DARK
}
group {
BackGroundColor $LIGHT
BackGroundColor $LIGHT_BG
LineColor $LIGHT_DARK
LineThickness 2.0
Margin 5
@ -256,7 +260,7 @@ nwdiagDiagram {
ganttDiagram {
task {
$primary_scheme()
LineColor $PRIMARY
LineColor $PRIMARY_BG
Margin 10
Padding 6
}
@ -266,19 +270,19 @@ ganttDiagram {
BackGroundColor $INFO_BG
}
separator {
LineColor $SECONDARY
LineColor $SECONDARY_BG
BackGroundColor $secondary_scheme()
FontColor $SECONDARY_TEXT
}
milestone {
FontColor $INFO
FontSize 24
FontColor $INFO_BG
FontSize 16
FontStyle italic
BackGroundColor $DIAMOND_BG
LineColor $SECONDARY_DARK
}
timeline {
BackgroundColor $SECONDARY
BackgroundColor $SECONDARY_BG
FontColor $SECONDARY_TEXT
}
closed {

View File

@ -198,7 +198,7 @@ skinparam {
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -163,7 +163,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -169,7 +169,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -173,7 +173,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -174,7 +174,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -148,7 +148,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -159,7 +159,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -169,7 +169,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -171,7 +171,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -159,7 +159,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -176,7 +176,7 @@ skinparam shadowing false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -179,7 +179,7 @@ skinparam shadowing false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -174,7 +174,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK

View File

@ -177,7 +177,7 @@ skinparam useBetaStyle false
}
milestone {
FontColor $INFO
FontSize 24
FontSize 16
FontStyle italic
BackGroundColor $SECONDARY
LineColor $SECONDARY_DARK