1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-22 04:55:10 +00:00

carbon theme fixes covering more diagrams

This commit is contained in:
Bharat Rajagopalan 2022-07-16 14:36:06 +00:00
parent a8dd89ac1d
commit 123d1779b5

View File

@ -15,6 +15,43 @@
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$RED_80 = '#750e13'
!$RED_70 = '#a2191f'
!$RED_60 = '#da1e28'
!$RED_50 = '#fa4d56'
!$RED_40 = '#ff8389'
!$RED_30 = '#ffb3b8'
!$RED_20 = '#ffd7d9'
!$RED_10 = '#fff1f1'
!$CYAN_10 = '#e5f6ff'
!$CYAN_20 = '#bae6ff'
!$CYAN_30 = '#82cfff'
!$CYAN_40 = '#33b1ff'
!$CYAN_50 = '#1192e8'
!$CYAN_60 = '#0072c3'
!$CYAN_70 = '#00539a'
!$CYAN_80 = '#003a6d'
!$PURPLE_80 ='#491d8b'
!$PURPLE_70 = '#6929c4'
!$PURPLE_60 = '#8a3ffc'
!$PURPLE_50 = '#a56eff'
!$PURPLE_40 = '#be95ff'
!$PURPLE_30 = '#d4bbff'
!$PURPLE_20 = '#e8daff'
!$PURPLE_10 = '#f6f2ff'
!$TEAL_10 = '#d9fbfb'
!$TEAL_20 = '#9ef0f0'
!$TEAL_30 = '#3ddbd9'
!$TEAL_40 = '#08bdba'
!$TEAL_50 = '#009d9a'
!$TEAL_60 = '#007d79'
!$TEAL_70 = '#005d5d'
!$TEAL_80 = '#004144'
!$GRAY_10 = '#f4f4f4'
!$GRAY_20 = '#e0e0e0'
!$GRAY_30 = '#c6c6c6'
@ -261,9 +298,9 @@ skinparam boundary {
!startsub agent
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
BackgroundColor $PRIMARY_LIGHT
BorderColor $PRIMARY_DARK
FontColor $PRIMARY_TEXT
RoundCorner 0
}
!endsub
@ -282,8 +319,8 @@ skinparam note {
!startsub artifact
skinparam artifact {
BackgroundColor $OTHER_BG
BorderColor $DARK
BackgroundColor $PRIMARY
BorderColor $PRIMARY_DARK
FontColor $DARK
RoundCorner 0
}
@ -293,8 +330,8 @@ skinparam artifact {
skinparam component {
$primary_scheme()
BackgroundColor $OTHER_BG
BorderColor $DARK
BackgroundColor $PRIMARY
BorderColor $PRIMARY_DARK
}
!endsub
@ -351,10 +388,10 @@ skinparam database {
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY
StereotypeFontColor $DARK
StereotypeFontColor $PRIMARY_TEXT
StereotypeFontSize 9
BorderThickness $LINE_THICKNESS
AttributeFontColor $DARK
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
@ -444,7 +481,7 @@ skinparam queue {
skinparam card {
BackgroundColor $OTHER_BG
BorderColor $DARK
BorderColor $PRIMARY_DARK
FontColor $INFO_TEXT
RoundCorner 0
}
@ -468,6 +505,14 @@ skinparam stack {
}
!endsub
!startsub person
skinparam person {
$primary_scheme()
}
!endsub
!if (%variable_exists("LEGACY"))
!$LEGACY = "true"
!endif
@ -484,6 +529,102 @@ skinparam useBetaStyle true
<style>
ganttDiagram {
task {
BackGroundColor $PRIMARY
LineColor $PRIMARY_DARK
FontStyle Bold
FontSize 12
unstarted {
BackGroundColor $PRIMARY_LIGHT
LineColor $PRIMARY_DARK
'FontColor $RED_80
}
Padding 3
Margin 3
}
timeline {
LineColor $PRIMARY
FontColor $WHITE
BackgroundColor $DARK
FontName Helvetica
'FontSize 12
FontStyle bold
YearFontColor $WHITE
QuarterFontColor $WHITE
MonthFontColor $WHITE
WeekFontColor $WHITE
WeekdayFontColor $WHITE
DayFontColor $WHITE
}
arrow {
'FontName Helvetica
'FontColor red
FontSize 12
FontStyle bold
'BackGroundColor GreenYellow
LineColor $PRIMARY_DARK
'LineStyle 8.0;13.0
'LineThickness 3.0
}
milestone {
FontColor $PRIMARY_TEXT
FontSize 12
FontStyle bold
BackGroundColor $DARK
LineColor $DARK
}
separator {
BackgroundColor $PRIMARY
`LineStyle 8.0;3.0
LineColor $PRIMARY
LineThickness 1.0
FontSize 12
FontStyle bold
FontColor $PRIMARY_TEXT
Margin 3
'Padding 20
}
closed {
BackgroundColor $RED_20
FontColor $RED_20
}
}
jsonDiagram {
node {
$primary_scheme ()
BackGroundColor $PRIMARY
LineColor $PRIMARY_DARK
FontName IBM Plex Sans, Noto Sans, Verdana
'FontColor
FontSize 12
'FontStyle bold
RoundCorner 0
'LineThickness 2
'LineStyle 10;5
separator {
LineThickness $LINE_THICKNESS
LineColor $PRIMARY_DARK
'LineStyle 1;5
}
}
arrow {
BackGroundColor $PRIMARY_DARK
LineColor $PRIMARY_DARK
LineThickness $LINE_THICKNESS
LineStyle 3;6
}
highlight {
BackGroundColor $PRIMARY_DARK
FontColor $PRIMARY_TEXT
FontStyle italic
}
}
mindmapDiagram {
'Padding 8
'Margin 8
@ -506,6 +647,27 @@ mindmapDiagram {
}
}
timingDiagram {
document {
BackGroundColor $BG_COLOR
LineColor $PRIMARY
BorderColor $PRIMARY
FontColor $PRIMARY_TEXT
}
highlight {
BackGroundColor $PRIMARY
}
constraintArrow {
'LineStyle 2-1
LineThickness 2
LineColor $RED_80
FontColor $RED_80
FontStyle bold
}
}
wbsDiagram {
'Padding 8
node {
@ -539,6 +701,37 @@ wbsDiagram {
noteBorderColor $DARK
}
yamlDiagram {
node {
$primary_scheme ()
BackGroundColor $PRIMARY
LineColor $PRIMARY_DARK
FontName IBM Plex Sans, Noto Sans, Verdana
'FontColor
FontSize 12
'FontStyle bold
RoundCorner 0
'LineThickness 2
'LineStyle 10;5
separator {
LineThickness $LINE_THICKNESS
LineColor $PRIMARY_DARK
'LineStyle 1;5
}
}
arrow {
BackGroundColor $PRIMARY_DARK
LineColor $PRIMARY_DARK
LineThickness $LINE_THICKNESS
LineStyle 3;6
}
highlight {
BackGroundColor $PRIMARY_DARK
FontColor $PRIMARY_TEXT
FontStyle italic
}
}
</style>
!endsub
'!endif