Closed mhoelter closed 2 years ago
I've also tried opening the website in a different browser to check it's not a cache issue.
Same here. I actually never use this (since we chose purple in the first place, hah!) but I guess it's because the config in spina.rb initializer isn't loaded before the assets are compiled. Perhaps this changed in a recent update to Rails.
@Bramjetten Thanks for your reply. Is there a CSS rule I can add to override the $primary-color variable?
I'm afraid not, you'd have to override all values where $primary-color is referenced (quite a lot of places!)
That said: if more people need this functionality we should look into restoring it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've updated the initializer file
config/initializers/spina.rb
config variable to a new hex color value, but the color won't change. I've tried:rake assets:precompile
rake spina:bootstrap
$primary-color: '#1e0f4f' !important;
in my SCSS filerails g spina:install
and stepping through the stepsThe odd thing is I updated the config with a new hex code (#4af2a1) early on and at some point it updated to use that color. But now nothing I've tried will change it from that color.
Thanks!