mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Add new optional CSS modules
This commit is contained in:
1 parent
cfaa62a7e9
commit
702f32d0cd
9 files changed
+108
-5
No files matched your search
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user