1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 02:49:06 +00:00

Merge pull request #569 from bschwarz/aws-orange-mods

fix: adjusts secondary colors, and hardcodes lightened secondard color
This commit is contained in:
arnaudroques 2021-06-07 12:26:18 +02:00 committed by GitHub
commit 6779f06261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,9 @@ skinparam useBetaStyle false
'' define colors based on PUML_MODE
''
!if ($PUML_MODE == "light")
!$SECONDARY = "#cccccc"
!$SECONDARY = "#eeeeee"
'' hardcode $SECONDARY_LIGHT since it is so close to white
!$SECONDARY_LIGHT = "ffffff"
!$SUCCESS = "#1D8102"
!$INFO = "#0073bb"
!$DANGER = "#d13212"
@ -64,6 +66,7 @@ skinparam useBetaStyle false
!assume transparent light
!else
!$SECONDARY = "#2a2e33"
!$SECONDARY_LIGHT = %lighten($SECONDARY, $PUML_GRADIENT)
!$SUCCESS = "#6aaf35"
!$INFO = "#44b9d6"
!$DANGER = "#ff5d64"
@ -83,7 +86,6 @@ skinparam useBetaStyle false
!$PRIMARY_DARK = %darken($PRIMARY, $PUML_GRADIENT)
!$PRIMARY_LIGHT = %lighten($PRIMARY, $PUML_GRADIENT)
!$SECONDARY_DARK = %darken($SECONDARY, $PUML_GRADIENT)
!$SECONDARY_LIGHT = %lighten($SECONDARY, $PUML_GRADIENT)
!$SUCCESS_DARK = %darken($SUCCESS, $PUML_GRADIENT)
!$SUCCESS_LIGHT = %lighten($SUCCESS, $PUML_GRADIENT)
!$INFO_DARK = %darken($INFO, $PUML_GRADIENT)