-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pawel Szewczyk
authored and
Pawel Szewczyk
committed
Sep 20, 2023
1 parent
085a559
commit f561999
Showing
4 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* arrayTest: $value */ | ||
.one-arrayTest { | ||
content: one; | ||
} | ||
.two-arrayTest { | ||
content: two; | ||
} | ||
|
||
/* arrayTest: $value, $key */ | ||
.0-arrayTest { | ||
content: one; | ||
} | ||
.1-arrayTest { | ||
content: two; | ||
} | ||
|
||
/* objectTest: $value */ | ||
."1"-arrayTest { | ||
content: "1"; | ||
} | ||
."2"-arrayTest { | ||
content: "2"; | ||
} | ||
|
||
/* objectTest: $key, $value */ | ||
.one-arrayTest { | ||
content: "1"; | ||
} | ||
.two-arrayTest { | ||
content: "2"; | ||
} | ||
|
||
/* objectStringTest: $key, $value */ | ||
.one-arrayTest { | ||
content: "1"; | ||
} | ||
.two-arrayTest { | ||
content: "2"; | ||
} | ||
|
||
/* objectStringTestMultiLine: $key, $value */ | ||
.one-arrayTest { | ||
content: "1"; | ||
} | ||
.two-arrayTest { | ||
content: "2"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
$arrayTest: (one, two); | ||
|
||
$objectTest: (one: "1", two: "2"); | ||
$objectStringTest: ("one": "1", "two": "2"); | ||
|
||
$objectStringTestMultiLine: ( | ||
"one": "1", | ||
"two": "2" | ||
); | ||
|
||
/* arrayTest: $value */ | ||
@each $value in $arrayTest { | ||
.#{$value}-arrayTest { | ||
content: #{$value}; | ||
} | ||
} | ||
|
||
/* arrayTest: $value, $key */ | ||
@each $value, $key in $arrayTest { | ||
.#{$key}-arrayTest { | ||
content: #{$value}; | ||
} | ||
} | ||
|
||
/* objectTest: $value */ | ||
@each $value in $objectTest { | ||
.#{$value}-arrayTest { | ||
content: #{$value}; | ||
} | ||
} | ||
|
||
/* objectTest: $key, $value */ | ||
@each $key, $value in $objectTest { | ||
.#{$key}-arrayTest { | ||
content: #{$value}; | ||
} | ||
} | ||
|
||
/* objectStringTest: $key, $value */ | ||
@each $key, $value in $objectStringTest { | ||
.#{$key}-arrayTest { | ||
content: #{$value}; | ||
} | ||
} | ||
|
||
/* objectStringTestMultiLine: $key, $value */ | ||
@each $key, $value in $objectStringTestMultiLine { | ||
.#{$key}-arrayTest { | ||
content: #{$value}; | ||
} | ||
} |