Skip to content

Commit

Permalink
test(css): update markup scenarios to include variables
Browse files Browse the repository at this point in the history
  • Loading branch information
thanoskrg committed Jun 12, 2021
1 parent f4681c3 commit 76da024
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/markup/css/variables.expect.txt
@@ -0,0 +1,9 @@
<span class="hljs-selector-tag">body</span> {
<span class="hljs-variable">--text-color-1</span>: red;
<span class="hljs-attribute">color</span>: <span class="hljs-built_in">var</span>(<span class="hljs-variable">--text-color-1</span>);
}

<span class="hljs-selector-tag">body</span> {
<span class="hljs-variable">--textBlue</span>: blue;
<span class="hljs-attribute">color</span>: <span class="hljs-built_in">var</span>(<span class="hljs-variable">--textBlue</span>);
}
9 changes: 9 additions & 0 deletions test/markup/css/variables.txt
@@ -0,0 +1,9 @@
body {
--text-color-1: red;
color: var(--text-color-1);
}

body {
--textBlue: blue;
color: var(--textBlue);
}

0 comments on commit 76da024

Please sign in to comment.