@import使用@if语句和SASS

时间:2017-12-07 08:41:50

标签: sass

我想使用SASS和import akka.actor.{Actor, ActorSystem, Props} import akka.camel.{CamelMessage, Consumer} class CamelJmsConsumer extends Actor with Consumer { override def receive = { case msg: CamelMessage ⇒ println("RECEIVED >>> " + msg) case _ ⇒ println("RECEIVED NOTHING>>> ") } override def endpointUri = "test" } object CamelJmsConsumerApp extends App { val system = ActorSystem("some-system1") system.actorOf(Props[CamelJmsConsumer]) } 语句导入调色板。

我的代码:

@if

问题:@if $look == default and not $look-chart-color or $look-chart-color == default { @import 'default'; } @if $look == espacefourn and not $look-chart-color or $look-chart-color == espacefourn { @import 'espacefourn'; } @if $look == ria and not $look-chart-color or $look-chart-color == ria { @import 'ria'; }

0 个答案:

没有答案