ui: Centralize monospace font styles in app.css (#23272)

This commit is contained in:
Aleksander Grygier
2026-05-18 15:10:14 +02:00
committed by GitHub
parent 232f466583
commit a135ec0baa
4 changed files with 7 additions and 12 deletions
+7
View File
@@ -40,6 +40,9 @@
--sidebar-ring: oklch(0.708 0 0);
--code-background: oklch(0.985 0 0);
--code-foreground: oklch(0.145 0 0);
--font-mono:
ui-monospace, SFMono-Regular, 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas,
'Liberation Mono', Menlo, monospace;
--layer-popover: 1000000;
--chat-form-area-height: 8rem;
@@ -172,6 +175,10 @@
*::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground) / 0.5);
}
:where(code, pre, kbd, samp) {
font-family: var(--font-mono);
}
}
@layer utilities {