MermanFontOverrides

Merman font families that the portable com.jetbrains.kmermaid.MermaidTheme.fontFamily does not reach.

Every value is a CSS font-family list such as Inter, sans-serif. Diagrams that read only the theme font (flowchart, class, state, sequence, ER, mindmap, timeline and others) need no entry here. When the theme sets a font family, C4 and journey families default to it instead of Mermaid's "Open Sans", sans-serif.

Types

Link copied to clipboard
class Builder

Mutable builder for immutable Merman font overrides.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

C4 boundary labels

Link copied to clipboard

C4 person, system, container and component labels

Link copied to clipboard

C4 relationship labels

Link copied to clipboard

family forced onto all diagram text with !important, including the hard-coded CSS of xychart, ZenUML and gitgraph; affects painting only, layout keeps the configured families

Link copied to clipboard

gantt task labels; falls back to the theme font when unset

Link copied to clipboard

whether font families from diagram frontmatter and %%{init}%% are discarded

Link copied to clipboard

user-journey task labels

Link copied to clipboard

user-journey title