mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
@@ -166,8 +166,8 @@ function getBundleMetadata(target, callback) {
|
||||
skin: function (cb) {
|
||||
const skinImport = [];
|
||||
if (themeData && themeData.bootswatchSkin) {
|
||||
skinImport.push('\n@import "./bootswatch/' + themeData.bootswatchSkin + '/variables.less";');
|
||||
skinImport.push('\n@import "./bootswatch/' + themeData.bootswatchSkin + '/bootswatch.less";');
|
||||
skinImport.push('\n@import "./@nodebb/bootswatch/' + themeData.bootswatchSkin + '/variables.less";');
|
||||
skinImport.push('\n@import "./@nodebb/bootswatch/' + themeData.bootswatchSkin + '/bootswatch.less";');
|
||||
}
|
||||
|
||||
cb(null, skinImport.join(''));
|
||||
|
||||
Reference in New Issue
Block a user