- Issue created by @SirClickALot
- 🇮🇳India ravi kant Jaipur
@SirClickalot
The extention is not required during import sass file.
May be issue due to other mistake. - 🇬🇧United Kingdom SirClickALot Somerset
It's definitely needed if you wish to override Bootstrap variables using SASS.
- 🇬🇧United Kingdom SirClickALot Somerset
I have just installed a fresh Drupal 10 site and added the very latest BS5 theme (3.0.11) and created a new sub-theme via the UI.
I am certain that this is an error with the theme.To clarify, if you create a sub-theme via the UI in the default place (i.e. /themes/custom) then the file...
themes/custom/b5subtheme/scss/style.scss
...has it's reference back to contrib' theme's
style.scss
is wrong.It is set to...
// Include bootstrap. @import '../../../themes/contrib/bootstrap5/scss/style';
When it should be...
// Include bootstrap. @import '../../../../themes/contrib/bootstrap5/scss/style';
That is to say one level up.
- 🇮🇳India ravi kant Jaipur
@SirClickalot
I did not find issue with Bootstrap5 theme version as mention and created subtheme from UI.
I try to debug and created screenshot for better expiation.
Let me know if i am wrong somewhere. - Status changed to Postponed: needs info
8 months ago 12:32pm 22 March 2024 - 🇦🇺Australia VladimirAus Brisbane, Australia
@SirClickalot seems like PHP storm misconfigured. My cli sass works fine.
- 🇬🇧United Kingdom SirClickALot Somerset
OK, I'm clearly outvoted here!
I'll go and check on what's going on with my PHP Storm.Thanks both.