summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r--theme-compiler/tests/resources/automatic/css/var-in-css-function.css4
-rw-r--r--theme-compiler/tests/resources/automatic/css/var-substring-match.css3
-rw-r--r--theme-compiler/tests/resources/automatic/scss/var-in-css-function.scss15
-rw-r--r--theme-compiler/tests/resources/automatic/scss/var-substring-match.scss8
4 files changed, 30 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/var-in-css-function.css b/theme-compiler/tests/resources/automatic/css/var-in-css-function.css
new file mode 100644
index 0000000000..07a921678d
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/var-in-css-function.css
@@ -0,0 +1,4 @@
+.v-window-footer {
+ background: linear-gradient(bottom, hsl(110, 50%, 98%), hsl(110, 50%, 90%));
+ abc: rgba(rgb(0, 255, 13), 0.85);
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/css/var-substring-match.css b/theme-compiler/tests/resources/automatic/css/var-substring-match.css
new file mode 100644
index 0000000000..54c97eac63
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/var-substring-match.css
@@ -0,0 +1,3 @@
+.foo {
+ font-size: 10px;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/var-in-css-function.scss b/theme-compiler/tests/resources/automatic/scss/var-in-css-function.scss
new file mode 100644
index 0000000000..72b371ba57
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/var-in-css-function.scss
@@ -0,0 +1,15 @@
+$very_light: 98%;
+$light: 90%;
+
+$hue1: 110;
+$saturation1: 50%;
+$very_light1: hsl($hue1, $saturation1, $very_light);
+$light1: hsl($hue1, $saturation1, $light);
+
+$color: rgb(0, 255, 13);
+.v-window-footer {
+ background: linear-gradient(bottom, $very_light1, $light1);
+ abc: rgba($color, .85);
+}
+
+
diff --git a/theme-compiler/tests/resources/automatic/scss/var-substring-match.scss b/theme-compiler/tests/resources/automatic/scss/var-substring-match.scss
new file mode 100644
index 0000000000..5acfb799a1
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/var-substring-match.scss
@@ -0,0 +1,8 @@
+@mixin mx($f: 10px) {
+ .foo {
+ font: {
+ size: $f;
+ }
+ }
+}
+@include mx; \ No newline at end of file