mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-23 07:53:00 +01:00
generics before theme, so theme can override
This commit is contained in:
@@ -27,9 +27,7 @@ const buildImports = {
|
||||
client: function (source, themeData) {
|
||||
return [
|
||||
boostrapImport(themeData),
|
||||
|
||||
'@import "@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput";',
|
||||
'@import "generics";',
|
||||
source,
|
||||
'@import "jquery-ui";',
|
||||
'@import "cropperjs/dist/cropper";',
|
||||
@@ -118,6 +116,7 @@ function boostrapImport(themeData) {
|
||||
|
||||
'@import "fontawesome";',
|
||||
'@import "mixins";', // core mixins
|
||||
'@import "generics";',
|
||||
'@import "client";', // core page styles
|
||||
'@import "./theme";', // rest of the theme scss
|
||||
bootswatchSkin ? `@import "bootswatch/dist/${bootswatchSkin}/bootswatch";` : '',
|
||||
|
||||
Reference in New Issue
Block a user