Rails 4: how do I use Sass Mappings?

后端 未结 1 1607
轻奢々
轻奢々 2020-11-30 16:03

I\'m trying to cleanup some of my styles for a Rails 4.1 app. Instead of listing out every color and it\'s variations, I would like to create a mapping of colors/values and

相关标签:
1条回答
  • 2020-11-30 16:34

    As @dinocarl kindly pointed out, the map and list features of SASS are in version 3+. I had to upgrade sass-rails gem to version 5+ because that version of the gem packages SASS 3+. Worked like a charm after I upgraded the gem version (also were few additional dependencies I had to update).

    0 讨论(0)
提交回复
热议问题