aboutsummaryrefslogtreecommitdiff
path: root/test/scss
diff options
context:
space:
mode:
authorAkianonymus <anonymus.aki@gmail.com>2022-09-09 23:55:43 +0530
committerAki <anonymus.aki@gmail.com>2022-09-14 11:47:08 +0530
commitf986d9a0ea1feff1388b5c7d297ec3faa19036a7 (patch)
tree501de10a0709883b9facfb26960f59a181b58d01 /test/scss
parentbuffer_utils: Do not error when lsp info cannot be fetched (diff)
[FEATURE] Add support for sass variables
Import support import using use and import keyword multiple imports in single line multiple imports in multiple lines ( using commas ) recursive imports watch imports for changes and automatically rehighlight buffer buffer variables recursive variables support multiple variables in single line parse imported files only when they are changed Loosely based on https://github.com/norcalli/nvim-colorizer.lua/pull/22/files
Diffstat (limited to 'test/scss')
-rw-r--r--test/scss/colors1.sass12
-rw-r--r--test/scss/colors2.sass4
2 files changed, 16 insertions, 0 deletions
diff --git a/test/scss/colors1.sass b/test/scss/colors1.sass
new file mode 100644
index 0000000..4304ff3
--- /dev/null
+++ b/test/scss/colors1.sass
@@ -0,0 +1,12 @@
+@import "colors2";
+
+$color2: #E33224;
+$color4: rgb(195, 60, 190);
+
+$color5: $color2;
+
+$color7: linear-gradient(to left, #0055ff, #7201b2 50%, #f83371);
+$color8: #ff0;
+$color9: #B0B;
+$color10: cornflowerblue;
+$color11: hsla(120, 60%, 70%, 0.3);
diff --git a/test/scss/colors2.sass b/test/scss/colors2.sass
new file mode 100644
index 0000000..ccfbaf0
--- /dev/null
+++ b/test/scss/colors2.sass
@@ -0,0 +1,4 @@
+$color1: #203CDB;
+$color3: rgb(250, 145, 55);
+
+$color6: radial-gradient(circle farthest-corner at 32% 106%, rgb(255, 225, 125) 0%, rgb(255, 205, 105) 10%, rgb(250, 145, 55) 28%, rgb(235, 65, 65) 42%, transparent 82%), linear-gradient(135deg, rgb(35, 75, 215) 12%, rgb(195, 60, 190) 58%);