test: add more integration tests with insta. Like it!
This commit is contained in:
parent
9a18eca0d8
commit
fb2e9f1358
1 changed files with 413 additions and 21 deletions
24
tests/assets/mixin-module.scss
Normal file
24
tests/assets/mixin-module.scss
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
@mixin surface($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