Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 14, 2025
1 parent add48da commit 2fb6ea7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/config/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ The theming engine will only recognize hex colors and not color names. So, the v
| background | #f4f4f4 | Used to calculate color for items that should either be background colored or contrasting to the background |
| fontFamily | trebuchet ms, verdana, arial | |
| fontSize | 16px | Font size in pixels |
| titleColor | calculated from textColor | Color to be used for the title text in Journey Diagrams. |
| titleFontFamily | trebuchet ms, verdana, arial | Font family to be used for the title text in Journey Diagrams. |
| titleFontSize | 16px | Font size in pixels to be used for the title text in Journey Diagrams. |
| primaryColor | #fff4dd | Color to be used as background in nodes, other colors will be derived from this |
| primaryTextColor | calculated from darkMode #ddd/#333 | Color to be used as text color in nodes using `primaryColor` |
| secondaryColor | calculated from primaryColor | |
Expand Down
6 changes: 3 additions & 3 deletions packages/mermaid/src/schemas/config.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1576,15 +1576,15 @@ $defs: # JSON Schema definition (maybe we should move these to a separate file)
items:
type: string
default: ['#fff']
titleColor:
titleColor:
description: Calculated from textColor
type: string
default: "#00ff00"
default: '#00ff00'
titleFontFamily:
description: Font family to be used for the title text in Journey Diagrams
type: string
default: '"Open Sans", sans-serif'
titleFontSize:
titleFontSize:
description: Font size in pixels to be used for the title text in Journey Diagrams
type: string
default: '32px'
Expand Down

0 comments on commit 2fb6ea7

Please # to comment.