File tree Expand file tree Collapse file tree
src/resources/formats/revealjs/themes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/* -- scss:defaults --*/
2+
3+ // Quarto diagrams
4+
5+ $mermaid-body-color : #000 !default ;
6+ $mermaid-bg-color : #fff !default ;
7+ $primary : $mermaid-body-color !default ;
8+ $secondary : #2a76dd !default ; // is this from --r-link-color in our default theme, but I don't know how to use css variables in scss :shrug:
9+
10+ /* SCSS variables for mermaid diagrams
11+
12+ These are documented in quarto-cli/quarto-web:docs/authoring/_mermaid-theming.qmd
13+
14+ Make sure to update the docs if you change these. */
15+ $mermaid-bg-color : $mermaid-bg-color !default ;
16+ $mermaid-edge-color : darken ($secondary , 10% ) !default ;
17+ $mermaid-node-fg-color : $mermaid-body-color !default ;
18+ $mermaid-fg-color : $mermaid-body-color !default ;
19+ $mermaid-fg-color--lighter : lighten ($mermaid-body-color , 10% ) !default ;
20+ $mermaid-fg-color--lightest : lighten ($mermaid-body-color , 20% ) !default ;
21+ $mermaid-font-family : sans-serif !default ;
22+ $mermaid-label-bg-color : $mermaid-bg-color !default ;
23+ $mermaid-label-fg-color : $primary !default ;
24+ $mermaid-node-bg-color : rgba ($primary , 0.1 ) !default ;
25+ $mermaid-node-fg-color : $primary !default ;
26+
You can’t perform that action at this time.
0 commit comments