- SCSS Interpolated text variables - LESS &:extend
This commit is contained in:
parent
259bb7083d
commit
3550280502
|
@ -1,14 +1,14 @@
|
|||
// Breaks (fixed now)
|
||||
.mixin(@variable, @anotherVariable) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
// Works
|
||||
.mixin(@variable; @anotherVariable) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
// Ok
|
||||
.mixin(@variable) {
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
@mixin text-emphasis-variant($parent, $color) {
|
||||
#{$parent;} {
|
||||
color: $color;
|
||||
}
|
||||
a#{$parent;}:hover {
|
||||
color: darken($color, 10%);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
@mixin text-emphasis-variant($parent, $color) {
|
||||
#{$parent} {
|
||||
color: $color;
|
||||
}
|
||||
a#{$parent}:hover {
|
||||
color: darken($color, 10%);
|
||||
}
|
||||
}
|
|
@ -94,7 +94,7 @@
|
|||
"lodash": "2.4.1",
|
||||
"loophole": "^1.0.0",
|
||||
"node-uuid": "^1.4.1",
|
||||
"prettydiff": "^1.6.11",
|
||||
"prettydiff": "^1.6.12",
|
||||
"space-pen": "^4.3.0",
|
||||
"strip-json-comments": "^0.1.3",
|
||||
"temp": "^0.8.0",
|
||||
|
|
Loading…
Reference in New Issue