Add new optional CSS modules

This commit is contained in:
HighImKevin committed 2026-02-12 06:54:42 -05:00
1 parent cfaa62a7e9
commit 702f32d0cd
9 files changed
+108 -5

No files matched your search

+3 -3
View File
@@ -2859,6 +2859,9 @@ window.KefinTweaksConfig = ${JSON.stringify(configToBackup, null, 2)};`;
// Step 1: Load the new CSS first (gets cached and starts loading)
requestAnimationFrame(async () => {
// Load optional includes for this skin
loadOptionalIncludes(skin);
const cssUrls = await getSkinUrlsForCurrentVersion(skin);
if (!cssUrls || cssUrls.length === 0) {
@@ -2872,9 +2875,6 @@ window.KefinTweaksConfig = ${JSON.stringify(configToBackup, null, 2)};`;
loadSkinCSS(url, skin.name);
}
});
// Load optional includes for this skin
loadOptionalIncludes(skin);
});
}