forked from Semantic-Org/Semantic-UI-LESS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.less
48 lines (35 loc) · 1.11 KB
/
theme.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*******************************
Import Directives
*******************************/
@theme : @@element;
/*------------------
Default Theme
-------------------*/
@import "@{themesFolder}/default/globals/site.variables";
@import "@{themesFolder}/default/@{type}s/@{element}.variables";
/*------------------
Packaged Theme
-------------------*/
@import "@{themesFolder}/@{site}/globals/site.variables";
@import "@{themesFolder}/@{theme}/@{type}s/@{element}.variables";
/*------------------
Site Theme
-------------------*/
@import "@{siteFolder}/globals/site.variables";
@import "@{siteFolder}/@{type}s/@{element}.variables";
/*******************************
Import Mix-ins
*******************************/
/*------------------
Fonts
-------------------*/
.loadFonts() when (@importGoogleFonts) {
@import (css) '@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}';
}
/*------------------
Overrides
-------------------*/
.loadUIOverrides() {
@import "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides";
@import "@{siteFolder}/@{type}s/@{element}.overrides";
}