test: add more integration tests with insta. Like it!
This commit is contained in:
parent
2febb2b3c0
commit
cd9305288a
1 changed files with 413 additions and 21 deletions
19
tests/assets/mixin-module.sass
Normal file
19
tests/assets/mixin-module.sass
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
@mixin color($color: black)
|
||||
@if $color == black
|
||||
color: white
|
||||
background-color: green
|
||||
@else if $color == white
|
||||
color: red
|
||||
background-color: black
|
||||
@else
|
||||
color: #c6c6c6
|
||||
background-color: #00ffff
|
||||
&::after
|
||||
content: 'Colored'
|
||||
color: $color
|
||||
background-color: blue
|
||||
&:hover
|
||||
transform: scale(2)
|
||||
&:hover
|
||||
transform: translateX(10%)
|
||||
Loading…
Reference in a new issue