Skip to content

Commit 32a07b4

Browse files
authored
fix: revert font (#1042)
1 parent 0179af7 commit 32a07b4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/rotten-trees-provide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Revert wrong font definition.

src/components/GlobalStyles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ export function GlobalStyles(props: GlobalStylesProps) {
330330
return `
331331
html {
332332
overscroll-behavior-y: none;
333-
--font: ${fontValue}-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
334-
--monospace-font: ${monospaceFontValue}Menlo, Monaco, Consolas, 'Courier New', monospace;
333+
--font: ${fontValue}system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
334+
--monospace-font: ${monospaceFontValue}ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
335335
}
336336
${STATIC_CSS}`;
337337
}, [font, monospaceFont]);

0 commit comments

Comments
 (0)