Closed fgomez828 closed 1 year ago
Gotcha! I've gone ahead and moved the boilerplate code to have that import at the top of the scss files in both affected cookiecutters. I'll go ahead and test this way before requesting someone else's review.
I am curious about CDI though, as this was the model I was using and it has this import at the bottom of the file?
on another note, looks like Dart Sass has phased out @import
and uses @use
instead. It'll be worth keeping an eye out, especially as we find a way to update our dependencies per #312
I need to take some time to figure out which version of Sass we use, but here's the Dart Sass Github repo
Update: we are using dart-sass as an npm package.
Overview
This PR adds Bootstrap and Sass as dependencies in
package.json
, adds thedevelop
script topackage.json
, and adds astatic/scss/custom.scss
file with the boostrap style import to facilitate overriding Bootstrap styles with Sass on apps we set up with the Django and Wagtail cookiecutter boilerplates. It also adds a bit of documentation and helpful links in thedocker/templates
README.Handles #308 Handles #319
Notes
Testing Instructions
docker-compose up --build
docker-compose exec app npm run-script develop