From 123d1779b5dea25ef34e3ade6d351ed102cf673b Mon Sep 17 00:00:00 2001 From: Bharat Rajagopalan Date: Sat, 16 Jul 2022 14:36:06 +0000 Subject: [PATCH 1/2] carbon theme fixes covering more diagrams --- themes/puml-theme-carbon-gray.puml | 213 +++++++++++++++++++++++++++-- 1 file changed, 203 insertions(+), 10 deletions(-) diff --git a/themes/puml-theme-carbon-gray.puml b/themes/puml-theme-carbon-gray.puml index 055441c1e..dabffbbff 100644 --- a/themes/puml-theme-carbon-gray.puml +++ b/themes/puml-theme-carbon-gray.puml @@ -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 !endsub '!endif From afc1538f104ef00fa48272d453703cd53689db1e Mon Sep 17 00:00:00 2001 From: Bharat Rajagopalan Date: Sat, 16 Jul 2022 21:56:07 +0000 Subject: [PATCH 2/2] updated carbon gray theme --- themes/puml-theme-carbon-gray.puml | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/themes/puml-theme-carbon-gray.puml b/themes/puml-theme-carbon-gray.puml index dabffbbff..4e44a6ae7 100644 --- a/themes/puml-theme-carbon-gray.puml +++ b/themes/puml-theme-carbon-gray.puml @@ -529,6 +529,26 @@ skinparam useBetaStyle true