Confirmed users
1,016
edits
m (moved L20n/Features/Confitional blocks to L20n/Features/Conditional blocks: typo) |
No edit summary |
||
| Line 23: | Line 23: | ||
}> | }> | ||
</pre> | </pre> | ||
This syntax would also allow for @import commands to be encapsulated within such a conditional block. | This syntax would also allow for @import commands to be encapsulated within such a conditional block. | ||
== status == | == status == | ||
| Line 43: | Line 39: | ||
We plan to implement the if clause for @import command. This will also mean that we encourage groups of entities that are to be used in certain | We plan to implement the if clause for @import command. This will also mean that we encourage groups of entities that are to be used in certain | ||
conditions to be exported into a separate file. This should increase readability and will allow us to avoid increasing complexity. | conditions to be exported into a separate file. This should increase readability and will allow us to avoid increasing complexity. | ||
<pre> | |||
@import ("path/to/resource") if (@width<600) | |||
</pre> | |||