aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/_valo.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/valo/_valo.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/_valo.scss68
1 files changed, 68 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/_valo.scss b/WebContent/VAADIN/themes/valo/_valo.scss
new file mode 100644
index 0000000000..41bed8cd5f
--- /dev/null
+++ b/WebContent/VAADIN/themes/valo/_valo.scss
@@ -0,0 +1,68 @@
+// TODO remove once debug window styles are bundled to the GWT module
+@import "_debug.scss";
+
+
+// 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 v-valo-global;
+
+
+// The main theme mixin
+@mixin v-valo {
+ @include v-valo-common;
+ @include v-valo-components;
+ @include v-valo-notification;
+
+ @if $v-valo-include-common-stylenames {
+ @include v-valo-common-stylenames;
+ }
+}