forked from External/greenlight
Merge branch 'v2.2.1-alpha' into master
This commit is contained in:
@ -30,7 +30,7 @@ class ThemesController < ApplicationController
|
||||
@file_contents = File.read(file_name)
|
||||
|
||||
# Include the variables and covert scss file to css
|
||||
@compiled = Sass::Engine.new("$primary-color:#{color};" \
|
||||
@compiled = SassC::Engine.new("$primary-color:#{color};" \
|
||||
"$primary-color-lighten:#{lighten_color};" \
|
||||
"$primary-color-darken:#{darken_color};" +
|
||||
@file_contents, syntax: :scss).render
|
||||
|
Reference in New Issue
Block a user