This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,15 @@ export const remarkPlugins = [
13
13
theme : 'base' ,
14
14
// TODO: Relocate theme config
15
15
themeVariables : {
16
- primaryColor : '#242037' ,
17
- lineColor : '#cad3f5' ,
18
- secondaryColor : '#42424a' ,
16
+ background : 'white' ,
17
+ primaryColor : '#F9F3FF' ,
18
+ primaryBorderColor : 'var(--secondary-300)' ,
19
+ lineColor : '#000000' ,
20
+ secondaryColor : '#ffffff' ,
19
21
tertiaryColor : '#0000ff' ,
20
- primaryTextColor : '#cad3f5 ' ,
21
- fontSize : '14px' ,
22
- fontFamily : 'Fira Code , monospace' ,
22
+ primaryTextColor : '#000000 ' ,
23
+ fontSize : '24px' , // use with styles in mermaid.css, this zooms out the diagram
24
+ fontFamily : 'var(--font-jetbrains-mono) , monospace' ,
23
25
} ,
24
26
} ,
25
27
} ,
Original file line number Diff line number Diff line change 1
1
svg [id ^= 'mermaid-svg-' ] {
2
- display : block;
3
- /* width: 100%; */
4
- margin : auto;
5
- /* padding: 0; */
2
+ @apply mx-auto block rounded-lg bg-white p-4;
3
+ }
4
+
5
+ svg [id ^= 'mermaid-svg-' ] .nodeLabel ,
6
+ svg [id ^= 'mermaid-svg-' ] .edgeLabel ,
7
+ svg [id ^= 'mermaid-svg-' ] tspan {
8
+ @apply text-base;
9
+ }
10
+
11
+ svg [id ^= 'mermaid-svg-' ] .edgeLabel {
12
+ @apply py-1;
6
13
}
You can’t perform that action at this time.
0 commit comments