llama-cpp-K2-FAST2 / tools /ui /src /lib /styles /katex-custom.scss
VladHong's picture
llama.cpp k2-fast2: MBZUAI model/K2Horizon + FAST2 sliding-window override
c59fd93 verified
Raw History Blame Contribute Delete
415 Bytes
// 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
@use 'katex/src/styles/katex.scss' with (
$use-woff2: true,
$use-woff: false,
$use-ttf: false,
$font-folder: 'katex-fonts'
);