tests(css): postcss popular plugins (#3959)
This commit is contained in:
1 parent
bff7de3ea2
commit
c36cb7670a
6 files changed
+197
-1
No files matched your search
@@ -0,0 +1,32 @@
|
||||
a {
|
||||
@mixin $(theme)-colors;
|
||||
}
|
||||
|
||||
@define-mixin icon $network, $color: blue {
|
||||
.icon.is-$(network) {
|
||||
color: $color;
|
||||
@mixin-content;
|
||||
}
|
||||
.icon.is-$(network):hover {
|
||||
color: white;
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin icon twitter {
|
||||
background: url(twt.png);
|
||||
}
|
||||
@mixin icon youtube, red {
|
||||
background: url(youtube.png);
|
||||
}
|
||||
|
||||
.search {
|
||||
@mixin icon search;
|
||||
}
|
||||
|
||||
a {
|
||||
color: black;
|
||||
@mixin parent {
|
||||
@mixin child;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user