From 0c48e0e909ada2c14d9b959970a4048acf6dd2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 4 Sep 2025 10:48:53 -0400 Subject: [PATCH] feat: use _variables.scss overrides from acp in custom skins and bootswatch skins as well --- src/meta/css.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/meta/css.js b/src/meta/css.js index 1c8f9f0329..304cc2554d 100644 --- a/src/meta/css.js +++ b/src/meta/css.js @@ -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; }