diff --git a/docs/config/theming.md b/docs/config/theming.md index 088d9e755..a09221305 100644 --- a/docs/config/theming.md +++ b/docs/config/theming.md @@ -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 | | diff --git a/packages/mermaid/src/schemas/config.schema.yaml b/packages/mermaid/src/schemas/config.schema.yaml index f6281c140..b19ef379a 100644 --- a/packages/mermaid/src/schemas/config.schema.yaml +++ b/packages/mermaid/src/schemas/config.schema.yaml @@ -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'