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 13, 2021
1 parent 3bcfd56 commit 0ca4d05
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-attr">--text-color</span>: red;
<span class="hljs-attribute">color</span>: <span class="hljs-built_in">var</span>(--text-color);
}

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

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

0 comments on commit 0ca4d05

Please sign in to comment.