From e89c7544622841c8e1391d95d9a578cdc8cf67a8 Mon Sep 17 00:00:00 2001 From: Brett Schwarz Date: Mon, 15 Nov 2021 22:39:37 -0800 Subject: [PATCH] update with correct color variables --- themes/puml-theme-aws-orange.puml | 74 ++++++++++++++++--------------- 1 file changed, 39 insertions(+), 35 deletions(-) diff --git a/themes/puml-theme-aws-orange.puml b/themes/puml-theme-aws-orange.puml index c6f16193b..6acffafbf 100644 --- a/themes/puml-theme-aws-orange.puml +++ b/themes/puml-theme-aws-orange.puml @@ -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 = "POST" @@ -184,10 +186,11 @@ skinparam useBetaStyle false '' Style settings ''