fix: declare css variable for font in excalidraw so its available in host (#6160)
declar css variable for font in excalidraw so its available in host
This commit is contained in:
parent
1db078a3dc
commit
cf38c0f933
@ -167,9 +167,6 @@
|
|||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system,
|
|
||||||
Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
|
||||||
font-family: var(--ui-font);
|
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.excalidraw {
|
.excalidraw {
|
||||||
|
--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system, Segoe UI,
|
||||||
|
Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
font-family: var(--ui-font);
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: var(--text-primary-color);
|
color: var(--text-primary-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user