From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/tools/server/webui/src/styles/katex-custom.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 llama.cpp/tools/server/webui/src/styles/katex-custom.scss (limited to 'llama.cpp/tools/server/webui/src/styles') diff --git a/llama.cpp/tools/server/webui/src/styles/katex-custom.scss b/llama.cpp/tools/server/webui/src/styles/katex-custom.scss new file mode 100644 index 0000000..9c8b96e --- /dev/null +++ b/llama.cpp/tools/server/webui/src/styles/katex-custom.scss @@ -0,0 +1,13 @@ +// Override KaTeX SCSS variables to disable ttf and woff fonts +// Only use woff2 format which is embedded in the bundle +$use-woff2: true; +$use-woff: false; +$use-ttf: false; + +// Use Vite alias for font folder +$font-folder: 'katex-fonts'; + +// Import KaTeX SCSS with overridden variables +// Note: @import is deprecated but required because KaTeX uses @import internally +// The deprecation warnings are from KaTeX's code and cannot be avoided +@import 'katex/src/styles/katex.scss'; -- cgit v1.2.3