active_analytics
active_analytics copied to clipboard
Sass::SyntaxError - $color: "var(--color-bg)" is not a color for `rgba':
After basic install, and once added the :
# config/routes.rb
authenticate :user, -> (u) { u.admin? } do # Supposing there is a User#admin? method
mount ActiveAnalytics::Engine, at: "analytics" # http://localhost:3000/analytics
end
I get Sass::SyntaxError - $color: "var(--color-bg)" is not a color for `rgba': error.
There is no sass files, so I don't really understand from where is this error coming. Can you try with directly with the version from GitHub ?
gem "active_analytics", git: "https://github.com/BaseSecrete/active_analytics.git", ref: "6107b53a230698e9104c0cbb188719a18a0df0ad"
There is no more asset pipeline dependency so I close the issue.
Not released yet, but if you want to give it another try : gem "active_analytics", git: "https://github.com/BaseSecrete/active_analytics.git".