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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
// Import global variables
@import "shared/variables";
// Import all utility mixins and functions
@import "util/lists";
@import "util/css3";
@import "util/bourbon/bourbon";
@import "util/color";
@import "util/anim";
@import "util/gradient";
@import "util/bevel-and-shadow";
@import "util/util";
// Import custom font mixins
@import "fonts/fonts";
// Include custom font faces if they are used by the theme
@if contains($v-font-family, "Open Sans") {
@include font-open-sans($light: true, $regular: true, $medium: true);
}
@if contains($v-font-family, "Source Sans Pro") {
@include font-source-sans-pro($light: true, $regular: true, $medium: true);
}
@if contains($v-font-family, "Roboto") {
@include font-roboto($light: true, $regular: true, $medium: true);
}
@if contains($v-font-family, "Lato") {
@include font-lato($light: true, $regular: true, $bold: true);
}
@if contains($v-font-family, "Lora") {
@include font-lora($regular: true, $bold: true);
}
// Import global mixins
@import "shared/global";
// Import component specific mixins
@import "components/all";
// Import common additional style names for components (optional)
@import "optional/common-stylenames";
// Include global styles directly, without a theme name prefix (this is done only once)
@include valo-global;
// The main theme mixin
@mixin valo {
@include valo-common;
@include valo-components;
@include valo-notification;
@if $valo-include-common-stylenames {
@include valo-common-stylenames;
}
}
|