mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
Add formatting libraries to composer.json
This commit is contained in:
parent
59ee4a7387
commit
2b008f7be6
202 changed files with 28022 additions and 133 deletions
74
vendor/leafo/lessphp/tests/inputs/guards.less
vendored
Normal file
74
vendor/leafo/lessphp/tests/inputs/guards.less
vendored
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
|
||||
.simple(@hi) when (@hi) {
|
||||
simple: yellow;
|
||||
}
|
||||
|
||||
|
||||
.something(@hi) when (@hi = cool) {
|
||||
something: red;
|
||||
}
|
||||
|
||||
.another(@x) when (@x > 10) {
|
||||
another: green;
|
||||
}
|
||||
|
||||
|
||||
.flipped(@x) when (@x =< 10) {
|
||||
flipped: teal;
|
||||
}
|
||||
|
||||
.yeah(@arg) when (isnumber(@arg)) {
|
||||
yeah-number: purple @arg;
|
||||
}
|
||||
|
||||
|
||||
.yeah(@arg) when (ispixel(@arg)) {
|
||||
yeah-pixel: silver;
|
||||
}
|
||||
|
||||
|
||||
.hello(@arg) when not (@arg) {
|
||||
hello: orange;
|
||||
}
|
||||
|
||||
dd {
|
||||
.simple(true);
|
||||
}
|
||||
|
||||
b {
|
||||
.something(cool);
|
||||
.something(birthday);
|
||||
}
|
||||
|
||||
img {
|
||||
.another(12);
|
||||
.flipped(2);
|
||||
}
|
||||
|
||||
body {
|
||||
.yeah(232px);
|
||||
.yeah(232);
|
||||
}
|
||||
|
||||
.something(@x) when (@x) and (@y), not (@x = what) {
|
||||
something-complex: blue @x;
|
||||
}
|
||||
|
||||
div {
|
||||
@y: true;
|
||||
.something(true);
|
||||
|
||||
}
|
||||
|
||||
.coloras(@g) when (iscolor(@g)) {
|
||||
color: true @g;
|
||||
}
|
||||
|
||||
link {
|
||||
.coloras(red);
|
||||
.coloras(#fff);
|
||||
.coloras(#fffddd);
|
||||
.coloras(rgb(0,0,0));
|
||||
.coloras(rgba(0,0,0, .34));
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue