active_analytics icon indicating copy to clipboard operation
active_analytics copied to clipboard

Sass::SyntaxError - $color: "var(--color-bg)" is not a color for `rgba':

Open GPif opened this issue 4 years ago • 1 comments

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.

GPif avatar Jun 30 '21 09:06 GPif

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"

alexisbernard avatar Jun 30 '21 09:06 alexisbernard

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".

alexisbernard avatar Aug 25 '23 15:08 alexisbernard