Browse Source

Make overrides optional for packaged themes

pull/2907/head
jlukic 9 years ago
parent
commit
9965473ff8
1 changed files with 2 additions and 2 deletions
  1. 4
      src/theme.less

4
src/theme.less

@ -27,7 +27,7 @@
@import "@{themesFolder}/default/@{type}s/@{element}.variables"; @import "@{themesFolder}/default/@{type}s/@{element}.variables";
/* Packaged Theme */ /* Packaged Theme */
@import "@{themesFolder}/@{theme}/@{type}s/@{element}.variables";
@import (optional) "@{themesFolder}/@{theme}/@{type}s/@{element}.variables";
/* Site Theme */ /* Site Theme */
@import (optional) "@{siteFolder}/@{type}s/@{element}.variables"; @import (optional) "@{siteFolder}/@{type}s/@{element}.variables";
@ -50,6 +50,6 @@
-------------------*/ -------------------*/
.loadUIOverrides() { .loadUIOverrides() {
@import "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides";
@import (optional) "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides";
@import (optional) "@{siteFolder}/@{type}s/@{element}.overrides"; @import (optional) "@{siteFolder}/@{type}s/@{element}.overrides";
} }
Loading…
Cancel
Save