mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-15 17:57:10 +00:00
fix: adjusts secondary colors, and hardcodes lightened secondard color
This commit is contained in:
parent
cfa7591c4b
commit
70059b0e89
@ -50,7 +50,9 @@ skinparam useBetaStyle false
|
|||||||
'' define colors based on PUML_MODE
|
'' define colors based on PUML_MODE
|
||||||
''
|
''
|
||||||
!if ($PUML_MODE == "light")
|
!if ($PUML_MODE == "light")
|
||||||
!$SECONDARY = "#cccccc"
|
!$SECONDARY = "#eeeeee"
|
||||||
|
'' hardcode $SECONDARY_LIGHT since it is so close to white
|
||||||
|
!$SECONDARY_LIGHT = "ffffff"
|
||||||
!$SUCCESS = "#1D8102"
|
!$SUCCESS = "#1D8102"
|
||||||
!$INFO = "#0073bb"
|
!$INFO = "#0073bb"
|
||||||
!$DANGER = "#d13212"
|
!$DANGER = "#d13212"
|
||||||
@ -64,6 +66,7 @@ skinparam useBetaStyle false
|
|||||||
!assume transparent light
|
!assume transparent light
|
||||||
!else
|
!else
|
||||||
!$SECONDARY = "#2a2e33"
|
!$SECONDARY = "#2a2e33"
|
||||||
|
!$SECONDARY_LIGHT = %lighten($SECONDARY, $PUML_GRADIENT)
|
||||||
!$SUCCESS = "#6aaf35"
|
!$SUCCESS = "#6aaf35"
|
||||||
!$INFO = "#44b9d6"
|
!$INFO = "#44b9d6"
|
||||||
!$DANGER = "#ff5d64"
|
!$DANGER = "#ff5d64"
|
||||||
@ -83,7 +86,6 @@ skinparam useBetaStyle false
|
|||||||
!$PRIMARY_DARK = %darken($PRIMARY, $PUML_GRADIENT)
|
!$PRIMARY_DARK = %darken($PRIMARY, $PUML_GRADIENT)
|
||||||
!$PRIMARY_LIGHT = %lighten($PRIMARY, $PUML_GRADIENT)
|
!$PRIMARY_LIGHT = %lighten($PRIMARY, $PUML_GRADIENT)
|
||||||
!$SECONDARY_DARK = %darken($SECONDARY, $PUML_GRADIENT)
|
!$SECONDARY_DARK = %darken($SECONDARY, $PUML_GRADIENT)
|
||||||
!$SECONDARY_LIGHT = %lighten($SECONDARY, $PUML_GRADIENT)
|
|
||||||
!$SUCCESS_DARK = %darken($SUCCESS, $PUML_GRADIENT)
|
!$SUCCESS_DARK = %darken($SUCCESS, $PUML_GRADIENT)
|
||||||
!$SUCCESS_LIGHT = %lighten($SUCCESS, $PUML_GRADIENT)
|
!$SUCCESS_LIGHT = %lighten($SUCCESS, $PUML_GRADIENT)
|
||||||
!$INFO_DARK = %darken($INFO, $PUML_GRADIENT)
|
!$INFO_DARK = %darken($INFO, $PUML_GRADIENT)
|
||||||
|
Loading…
Reference in New Issue
Block a user