mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-05 08:49:53 -05:00
Update compiler.ts
This commit is contained in:
parent
f349b19a31
commit
f3ea99e573
1 changed files with 2 additions and 5 deletions
|
@ -55,11 +55,8 @@ const preprocessors: { [preprocessor: string]: (text: string, vars: Record<strin
|
||||||
};
|
};
|
||||||
|
|
||||||
export async function compileUsercss(fileName: string) {
|
export async function compileUsercss(fileName: string) {
|
||||||
try {
|
const themeData = await VencordNative.themes.getThemeData(fileName);
|
||||||
var themeData = await VencordNative.themes.getThemeData(fileName);
|
|
||||||
} catch (e) {
|
|
||||||
UserCSSLogger.warn("Failed to get theme data for", fileName, "(has it gone missing?)", e);
|
|
||||||
}
|
|
||||||
if (!themeData) return null;
|
if (!themeData) return null;
|
||||||
|
|
||||||
// UserCSS preprocessor order look like this:
|
// UserCSS preprocessor order look like this:
|
||||||
|
|
Loading…
Add table
Reference in a new issue