Skip to content

Commit

Permalink
test: add test for import css in scss
Browse files Browse the repository at this point in the history
  • Loading branch information
sinoon committed Mar 4, 2022
1 parent f45b01a commit 86cda8b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/playground/css/index.html
Expand Up @@ -113,6 +113,10 @@ <h1>CSS</h1>
test for import less in less, this color will be blue
</div>

<div class="css-in-scss">
test import css in scss, this color will be orange
</div>

<pre class="inlined-code"></pre>
</div>

Expand Down
2 changes: 2 additions & 0 deletions packages/playground/css/nested/_index.scss
@@ -1,3 +1,5 @@
@import './css-in-scss.css';

.sass-at-import {
color: olive;
background: url(./icon.png) 10px no-repeat;
Expand Down
3 changes: 3 additions & 0 deletions packages/playground/css/nested/css-in-scss.css
@@ -0,0 +1,3 @@
.css-in-scss {
color: orange;
}

0 comments on commit 86cda8b

Please sign in to comment.