Add codeicon font for autocompletion icons

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-03-14 12:00:40 +01:00
parent ebb468cedf
commit 6ff7857313
3 changed files with 7 additions and 0 deletions

View file

@ -30,3 +30,9 @@
color: var(--mantine-color-white); color: var(--mantine-color-white);
} }
} }
/* Font used for autocompletion item icons. */
@font-face {
font-family: "codicon";
src: local("codicon"), url(./fonts/codicon.ttf) format("truetype");
}

Binary file not shown.

View file

@ -4,6 +4,7 @@ import App from "./App.tsx";
import { Settings, SettingsContext } from "./settings.ts"; import { Settings, SettingsContext } from "./settings.ts";
import store from "./state/store.ts"; import store from "./state/store.ts";
import { Provider } from "react-redux"; import { Provider } from "react-redux";
import "./fonts/codicon.ttf";
// Declared/defined in public/index.html, value replaced by Prometheus when serving bundle. // Declared/defined in public/index.html, value replaced by Prometheus when serving bundle.
declare const GLOBAL_CONSOLES_LINK: string; declare const GLOBAL_CONSOLES_LINK: string;