From version 0.5.0 to 0.6.0, bulma.min.css was vendored into the lib instead of linking to the CDN version to better conform to the content security policy.
Unfortunately, when passing through a common older CSS bundler (sass-rails) during rails assets:precompile, that CSS doesn't seem to pass muster:
SassC::SyntaxError: Error: Invalid CSS after "...--s),var(--l));": expected "}", was "--00-l:var(--bulma-" (SassC::SyntaxError)
I assume Bulma is using some feature of DartSass/CSS that sass-rails and sassc-rails do not support. Updating the CSS bundler to dartsass-rails fixes the issue.
From version 0.5.0 to 0.6.0,
bulma.min.css
was vendored into the lib instead of linking to the CDN version to better conform to the content security policy.Unfortunately, when passing through a common older CSS bundler (sass-rails) during
rails assets:precompile
, that CSS doesn't seem to pass muster:I assume Bulma is using some feature of DartSass/CSS that
sass-rails
andsassc-rails
do not support. Updating the CSS bundler todartsass-rails
fixes the issue.