Revert "refactor: add font management module and update global types (#1317)" (#1322)
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled

This reverts commit 9fb1b9c410.
This commit is contained in:
Azgaar 2026-02-16 05:48:53 +01:00 committed by GitHub
parent 9fb1b9c410
commit cff57dc4c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 143 additions and 179 deletions

View file

@ -46,7 +46,6 @@ declare global {
var defs: Selection<SVGDefsElement, unknown, null, undefined>;
var coastline: Selection<SVGGElement, unknown, null, undefined>;
var lakes: Selection<SVGGElement, unknown, null, undefined>;
var provs: Selection<SVGGElement, unknown, null, undefined>;
var getColorScheme: (scheme: string | null) => (t: number) => string;
var getColor: (height: number, scheme: (t: number) => string) => string;
var svgWidth: number;
@ -79,12 +78,10 @@ declare global {
var tip: (
message: string,
autoHide?: boolean,
type?: "info" | "warn" | "error" | "success",
timeout?: number,
type?: "info" | "warning" | "error",
) => void;
var locked: (settingId: string) => boolean;
var unlock: (settingId: string) => void;
var $: (selector: any) => any;
var scale: number;
var changeFont: () => void;
}