[playground] Provide fallback monospace-font (#17242)

<img width="1679" alt="Screenshot 2025-04-06 at 22 51 43"
src="https://github.com/user-attachments/assets/ccd9dd1a-67cd-4bc3-a22a-f3c530b8670d"
/>
This commit is contained in:
Micha Reiser 2025-04-06 22:57:20 +02:00 committed by GitHub
parent 51bdb87fd8
commit e01d228a71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,5 @@
@import "tailwindcss";
@source "../../shared/";
@custom-variant dark (&:is(.dark *));
@ -37,7 +38,9 @@
--font-body:
Alliance Text, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
sans-serif, Apple Color Emoji, Segoe UI Emoji;
--font-mono: Roboto Mono;
--font-mono:
Roboto Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
--text-xs: 0.75rem;
--text-sm: 0.875rem;

View file

@ -1,4 +1,5 @@
@import "tailwindcss";
@source "../../shared/";
@custom-variant dark (&:is(.dark *));
@ -37,7 +38,9 @@
--font-body:
Alliance Text, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
sans-serif, Apple Color Emoji, Segoe UI Emoji;
--font-mono: Roboto Mono;
--font-mono:
Roboto Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
--text-xs: 0.75rem;
--text-sm: 0.875rem;