Skip to content

Commit

Permalink
Update bootstrap.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kpawelczak committed Jan 17, 2025
1 parent acc7fe9 commit 5b17dc0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/migration/2211_ng18/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,26 @@
// Replace with
@import '@spartacus/styles/vendor/bootstrap/scss/reboot';
```

4. Some libraries have stopped importing Bootstrap-related styles. Instead, these styles should now be imported directly within the application. For example, the lib-cart.scss file should include the following imports:
```scss
// original imports
@import '../styles-config';
@import '@spartacus/cart';
// new imports
@import '@spartacus/styles/vendor/bootstrap/scss/functions';
@import '@spartacus/styles/vendor/bootstrap/scss/variables';
@import '@spartacus/styles/vendor/bootstrap/scss/_mixins';
```
Affected libraries:
- cart
- checkout
- organization
- pick-up-in-store
- product
- product-multi-dimensional
- qualtrics
- quote
- storefinder
- epd-visualization
- opf

0 comments on commit 5b17dc0

Please sign in to comment.