aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/automatic/scss
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources/automatic/scss')
-rw-r--r--theme-compiler/tests/resources/automatic/scss/variable-defaults-with-null.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/scss/variable-defaults-with-null.scss b/theme-compiler/tests/resources/automatic/scss/variable-defaults-with-null.scss
new file mode 100644
index 0000000000..0bfa374304
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/variable-defaults-with-null.scss
@@ -0,0 +1,19 @@
+$var: null;
+$var: "Non-null" !default;
+
+$var2: null;
+$var2: "Also non-null" !default;
+$var2: "Null content" !default;
+
+$list-of-nulls: null null;
+$list-of-nulls: "Non-null" !default;
+
+$mixed-list: null "Not null" null;
+$mixed-list: "null" !default;
+
+.test {
+ first: $var;
+ second: $var2;
+ hidden: $list-of-nulls;
+ third: $mixed-list;
+} \ No newline at end of file