Vastly improves resilience of Settings Ui against Discord changes. Should now never break even if hell breaks loose Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
15 lines
491 B
TypeScript
15 lines
491 B
TypeScript
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2025 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
import { createAndAppendStyle } from "@utils/css";
|
|
|
|
import { generateTextCss } from "./BaseText";
|
|
import { generateMarginCss } from "./margins";
|
|
|
|
export function addVencordUiStyles() {
|
|
createAndAppendStyle("vencord-text", document.head).textContent = generateTextCss();
|
|
createAndAppendStyle("vencord-margins").textContent = generateMarginCss();
|
|
}
|