- Issue created by @jennypanighetti
- 🇵🇪Peru hatuhay Lima
New SASS structure for Bootstrap 5.3.
Change import.scss to this on your subtheme// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc) @import "../node_modules/bootstrap/scss/functions"; // 2. Include any default variable overrides here // 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets) @import "../node_modules/bootstrap/scss/variables"; @import "../node_modules/bootstrap/scss/variables-dark"; // 4. Include any default map overrides here // variables @import "variables"; // typography @import "typography"; // 5. Include remainder of required parts @import "../node_modules/bootstrap/scss/maps"; @import "../node_modules/bootstrap/scss/mixins"; @import "../node_modules/bootstrap/scss/root"; // 6. Optionally include any other parts as needed @import "../node_modules/bootstrap/scss/utilities"; @import "../node_modules/bootstrap/scss/reboot"; @import "../node_modules/bootstrap/scss/type"; @import "../node_modules/bootstrap/scss/images"; @import "../node_modules/bootstrap/scss/containers"; @import "../node_modules/bootstrap/scss/grid"; @import "../node_modules/bootstrap/scss/helpers"; // 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss` @import "../node_modules/bootstrap/scss/utilities/api"; // 8. Add additional custom code here @import "mixins"; // barrio @import "barrio";
- 🇺🇸United States jennypanighetti
There is no import.scss in the subtheme. There is a style.scss which currently contains:
// Sub theme styling. @import 'variables_drupal'; // Bootstrap overriden variables. // @see https://getbootstrap.com/docs/5.2/customize/sass/#variable-defaults. @import 'variables_bootstrap'; // Include bootstrap. @import '../../../../themes/contrib/bootstrap5/scss/style';
So this sounds like a bigger issue that needs to be updated in the subtheme generator.
- Status changed to Fixed
over 1 year ago 11:02am 27 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.