feat: use _variables.scss overrides from acp in custom skins and bootswatch skins as well

This commit is contained in:
Barış Soner Uşaklı
2025-09-04 10:48:53 -04:00
parent 86d9016f02
commit 0c48e0e909

View File

@@ -56,9 +56,15 @@ function boostrapImport(themeData) {
function bsvariables() {
if (bootswatchSkin) {
if (isCustomSkin) {
return themeData._variables || '';
return `
${bsVariables}
${themeData._variables || ''}
`;
}
return `@import "bootswatch/dist/${bootswatchSkin}/variables";`;
return `
${bsVariables}
@import "bootswatch/dist/${bootswatchSkin}/variables";
`;
}
return bsVariables;
}