mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 19:24:10 +01:00
Re-order theme variables
This commit is contained in:
@@ -116,15 +116,15 @@ Variables that are unique to some diagrams can be affected by changes in Theme V
|
|||||||
| -------------------- | ------------------------------ | ---- | -------------------------------------------------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------ | ---- | -------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| darkMode | false | | Boolean Value that dictates how to calculate colors. "true" will activate darkmode. |
|
| darkMode | false | | Boolean Value that dictates how to calculate colors. "true" will activate darkmode. |
|
||||||
| background | #f4f4f4 | | Used to calculate color for items that should either be background colored or contrasting to the background. |
|
| background | #f4f4f4 | | Used to calculate color for items that should either be background colored or contrasting to the background. |
|
||||||
| primaryColor | #fff4dd | | Color to be used as background in nodes, other colors will be derived from this |
|
|
||||||
| fontFamily | "trebuchet ms", verdana, arial | | |
|
| fontFamily | "trebuchet ms", verdana, arial | | |
|
||||||
| fontSize | 16px | | Font Size, in pixels |
|
| fontSize | 16px | | Font Size, in pixels |
|
||||||
| secondaryColor | based on primaryColor | * | |
|
| primaryColor | #fff4dd | | Color to be used as background in nodes, other colors will be derived from this |
|
||||||
| tertiaryColor | based on primaryColor | * | |
|
|
||||||
| primaryBorderColor | based on primaryColor | * | Color to be used as border in nodes using primaryColor |
|
| primaryBorderColor | based on primaryColor | * | Color to be used as border in nodes using primaryColor |
|
||||||
| primaryTextColor | based on darkMode #ddd/#333 | * | Color to be used as text color in nodes using primaryColor |
|
| primaryTextColor | based on darkMode #ddd/#333 | * | Color to be used as text color in nodes using primaryColor
|
||||||
|
| secondaryColor | based on primaryColor | * | |
|
||||||
| secondaryBorderColor | based on secondaryColor | * | Color to be used as border in nodes using secondaryColor |
|
| secondaryBorderColor | based on secondaryColor | * | Color to be used as border in nodes using secondaryColor |
|
||||||
| secondaryTextColor | based on secondaryColor | * | Color to be used as text color in nodes using secondaryColor |
|
| secondaryTextColor | based on secondaryColor | * | Color to be used as text color in nodes using secondaryColor
|
||||||
|
| tertiaryColor | based on primaryColor | * | | | |
|
||||||
| tertiaryBorderColor | based on tertiaryColor | * | Color to be used as border in nodes using tertiaryColor |
|
| tertiaryBorderColor | based on tertiaryColor | * | Color to be used as border in nodes using tertiaryColor |
|
||||||
| tertiaryTextColor | based on tertiaryColor | * | Color to be used as text color in nodes using tertiaryColor |
|
| tertiaryTextColor | based on tertiaryColor | * | Color to be used as text color in nodes using tertiaryColor |
|
||||||
| noteBkgColor | #fff5ad | | Color used as background in notes |
|
| noteBkgColor | #fff5ad | | Color used as background in notes |
|
||||||
@@ -160,9 +160,9 @@ Variables that are unique to some diagrams can be affected by changes in Theme V
|
|||||||
| actorBkg | mainBkg | * | Actor Background Color |
|
| actorBkg | mainBkg | * | Actor Background Color |
|
||||||
| actorTextColor | primaryTextColor | * | Actor Text Color |
|
| actorTextColor | primaryTextColor | * | Actor Text Color |
|
||||||
| actorLineColor | grey | * | Actor Line Color |
|
| actorLineColor | grey | * | Actor Line Color |
|
||||||
| labelBoxBkgColor | actorBkg | * | Label Box Background Color |
|
|
||||||
| signalColor | textColor | * | Signal Color |
|
| signalColor | textColor | * | Signal Color |
|
||||||
| signalTextColor | textColor | * | Signal Text Color |
|
| signalTextColor | textColor | * | Signal Text Color |
|
||||||
|
| labelBoxBkgColor | actorBkg | * | Label Box Background Color |
|
||||||
| labelBoxBorderColor | actorBorder | * | Label Box Border Color |
|
| labelBoxBorderColor | actorBorder | * | Label Box Border Color |
|
||||||
| labelTextColor | actorTextColor | * | Label Text Color |
|
| labelTextColor | actorTextColor | * | Label Text Color |
|
||||||
| loopTextColor | actorTextColor | * | Loop ext Color |
|
| loopTextColor | actorTextColor | * | Loop ext Color |
|
||||||
|
|||||||
Reference in New Issue
Block a user