0

How to pass variable from view to sass?

I need to override bootstrap _variables.scss depending on request.host It looks, that there is not simple solution for it.

rs41
  • 319
  • 1
  • 15
  • Well yeah. It sounds like you're doing this backwards--what specifically are you trying to do? Sounds more like you want conditional classes/etc in the view layer. – Dave Newton Apr 04 '16 at 16:48
  • You can't do that, your sass files get converted to plain css, that way you can use them in your views. It'll be better if you answers Dave's question so that we get the idea of what you're trying to do. – fanta Apr 04 '16 at 16:53

0 Answers0