08-27-周三_17-09-29
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"the-border": "1px",
|
||||
"base-color": "#111",
|
||||
"red": "#842210"
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
#header {
|
||||
color: (@base-color * 3);
|
||||
border-left: @the-border;
|
||||
border-right: (@the-border * 2);
|
||||
}
|
||||
#footer {
|
||||
color: (@base-color + #003300);
|
||||
border-color: @red;
|
||||
}
|
||||
@red: desaturate(red, 10%); // less file overrides passed in color <- note line comment on last line to check it is okay
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"my-color": "red"
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
.class {
|
||||
color: @my-color;
|
||||
}
|
||||
Reference in New Issue
Block a user