File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
.vitepress/theme/components/Examples/BlockNote Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 2
2
background : transparent !important ;
3
3
height : 500px ;
4
4
}
5
+
6
+ /* From Vitepress base styles, to overwrite Mantine globals */
7
+ body {
8
+ margin : 0 ;
9
+ width : 100% ;
10
+ min-width : 320px ;
11
+ min-height : 100vh ;
12
+ line-height : 24px ;
13
+ font-family : var (--vp-font-family-base );
14
+ font-size : 16px ;
15
+ font-weight : 400 ;
16
+ color : var (--vp-c-text-1 );
17
+ background-color : var (--vp-c-bg );
18
+ direction : ltr;
19
+ font-synthesis : style;
20
+ text-rendering : optimizeLegibility;
21
+ -webkit-font-smoothing : antialiased;
22
+ -moz-osx-font-smoothing : grayscale;
23
+ }
24
+
25
+
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ export const getStyles = (isDark: Ref<boolean>): string => `body {
14
14
-webkit-tap-highlight-color: transparent;
15
15
-webkit-touch-callout: none;
16
16
17
- background-color: ${ isDark ? "#151515" : "white" } ;
17
+ background-color: ${ isDark ? "#151515" : "white" } !important ;
18
18
}` ;
You can’t perform that action at this time.
0 commit comments