mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
fix: override --font-family-sans in vscode theme to prevent serif fallback
The upstream UI sets --font-family-sans to Inter, but the Font component that loads Inter via @font-face is not used in the VSCode webview. This caused the browser to fall back to its default serif font. Override --font-family-sans with var(--vscode-font-family) in the kilo-vscode theme scope so all CSS references resolve to the native VSCode UI font.
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
/* ===== VS Code extension: inherit native styling ===== */
|
||||
|
||||
html[data-theme="kilo-vscode"] {
|
||||
--font-family-sans: var(--vscode-font-family);
|
||||
font-family: var(--vscode-font-family);
|
||||
font-size: var(--vscode-font-size);
|
||||
font-weight: var(--vscode-font-weight);
|
||||
|
||||
Reference in New Issue
Block a user