docs deserve to be tested
This commit is contained in:
parent
4588eb9b1d
commit
3fb281bb03
2 changed files with 1167 additions and 100 deletions
5
tests/assets/mixins.sass
Normal file
5
tests/assets/mixins.sass
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
=colored($color: primary)
|
||||
@if $color == primary
|
||||
color: white
|
||||
@else
|
||||
color: $col
|
||||
9
tests/assets/mixins.scss
Normal file
9
tests/assets/mixins.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
$primary-color: black;
|
||||
|
||||
@mixin colored($col: primary) {
|
||||
@if $col == primary {
|
||||
color: $primary-color;
|
||||
} @else {
|
||||
color: $col;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue