Skip to content

Commit

Permalink
changes default values
Browse files Browse the repository at this point in the history
Co-authored-by: Pranav Mishra <[email protected]>
  • Loading branch information
Shahir-47 and pranavm2109 committed Feb 21, 2025
1 parent 6140be2 commit 9c27125
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/mermaid/src/config.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ export interface JourneyDiagramConfig extends BaseDiagramConfig {
*/
titleFontFamily?: string;
/**
* Font size in pixels to be used for the title text in Journey Diagrams
* Font size to be used for the title text in Journey Diagrams
*/
titleFontSize?: string;
}
Expand Down
8 changes: 4 additions & 4 deletions packages/mermaid/src/schemas/config.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1579,15 +1579,15 @@ $defs: # JSON Schema definition (maybe we should move these to a separate file)
titleColor:
description: Color of the title text in Journey Diagrams
type: string
default: '#00ff00'
default: ''
titleFontFamily:
description: Font family to be used for the title text in Journey Diagrams
type: string
default: '"Open Sans", sans-serif'
default: '"trebuchet ms", verdana, arial, sans-serif'
titleFontSize:
description: Font size in pixels to be used for the title text in Journey Diagrams
description: Font size to be used for the title text in Journey Diagrams
type: string
default: '32px'
default: '4ex'

TimelineDiagramConfig:
# added by https://github.com/mermaid-js/mermaid/commit/0d5246fbc730bf15463d7183fe4400a1e2fc492c
Expand Down

0 comments on commit 9c27125

Please sign in to comment.