This guide is still work in progress!
@import
directive to include other stylesheets.
Overriding existing SASS code
This section will be added soon!
Adding custom CSS
Besides SASS you can still include standard CSS files. To do so:-
Create a new file in your application
app/assets/stylesheets
directory: -
Add some CSS rules to the file:
-
Create a template file in your application
app/views/spree/admin/shared
directory: -
Use standard Ruby on Rails stylesheet_link_tag
-
Register this template in the Spree initializer (
config/initializers/spree.rb
):