Skip to content

Commit

Permalink
fix(icon): improve default theme overrides import
Browse files Browse the repository at this point in the history
Closes #763
  • Loading branch information
ColinFrick authored and Sean committed May 23, 2019
1 parent c4d5307 commit 0bf3ddf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/definitions/elements/icon.less
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,4 @@ i.icons .inverted.corner.icon {
text-shadow: @cornerIconInvertedShadow;
}

.loadUIOverrides(false);
.loadUIOverrides();
4 changes: 2 additions & 2 deletions src/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
Overrides
-------------------*/

.loadUIOverrides(@importDefault: true) {
& when (@importDefault = true) {
.loadUIOverrides() {
& when not (@theme = 'default') {
@import (optional) "@{themesFolder}/default/@{type}s/@{element}.overrides";
}
@import (optional) "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides";
Expand Down

0 comments on commit 0bf3ddf

Please sign in to comment.