summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/_valo.scss
blob: 8a2da5b7894df76ea7b4f56f417fc816838b42f6 (plain)
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
// Import global variables
@import "shared/variables";


// Import all utility mixins and functions
@import "util/bourbon/bourbon";
@import "util/lists";
@import "util/css3";
@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";


// Include global styles directly, without a theme name prefix (this is done only once)
@include valo-global;


/**
 * The main Valo theme mixin, which outputs all the selectors and properties to produce 
 * the variation specified by global variables. Should not be included multiple times 
 * per compilation.
 */
@mixin valo {
  @include valo-common;
  @include valo-components;
}