- Issue created by @Rajab Natshah
-
Rajab Natshah →
committed 30393100 on 3.0.x
Issue #3366299: Update Bootstrap 5 from ~5.2.0 to ~5.3.0 in Vartheme BS5
-
Rajab Natshah →
committed 30393100 on 3.0.x
- Assigned to Mohammed J. Razem
- Status changed to Fixed
over 1 year ago 5:10pm 13 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 9:07am 12 July 2023 - 🇯🇴Jordan Rajab Natshah Jordan
Now the application with Bootstrap 5.3.0 lives as follows:
:root, [data-bs-theme=light] {
https://github.com/twbs/bootstrap/blob/v5.3.0/dist/css/bootstrap.css#L7C...
[data-bs-theme=dark] {
https://github.com/twbs/bootstrap/blob/v5.3.0/dist/css/bootstrap.css#L12...
It will be in the final dist compiled css files. - 🇯🇴Jordan Rajab Natshah Jordan
Have the following in the
_defaults.scss
Global Defaults file// Global Defaults // ----------------------------------------------------------------------------- @import "../node_modules/bootstrap/scss/mixins/banner"; @include bsBanner(""); @import "bootstrap-variables"; // Override bootstrap 5 variables. @import "vartheme-variables"; // Vartheme variables. @import "vartheme-mixins"; // Vartheme mixins. @import "../node_modules/bootstrap/scss/functions"; // Bootstrap functions. @import "../node_modules/bootstrap/scss/variables"; // Bootstrap variables. @import "../node_modules/bootstrap/scss/variables-dark"; // Bootstrap variables dark. @import "../node_modules/bootstrap/scss/maps"; // Bootstrap maps. @import "../node_modules/bootstrap/scss/mixins"; // Bootstrap mixins. @import "../node_modules/bootstrap/scss/utilities"; // Bootstrap utilities.
Then have
@import "../defaults"; // Global defaults.
in needed Bootstrap 5.3.0 custom SCSS files.