- Issue created by @Rajab Natshah
-
Rajab Natshah →
committed d2a4008e on 2.0.x
Issue #3366298: Update Bootstrap 5 from ~5.2.0 to ~5.3.0 in Varbase...
-
Rajab Natshah →
committed d2a4008e on 2.0.x
- Assigned to Mohammed J. Razem
- Status changed to Needs review
over 1 year ago 4:30pm 13 June 2023 - Issue was unassigned.
- Status changed to Fixed
over 1 year ago 4:30pm 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 Varbase Components defaults. // ----------------------------------------------------------- // Custom default path for the location of the node_modules // Custom default path for the location of custom SCSS source files // from within "./components/{component_type}/{component_name}". @import "../scss/bootstrap-variables"; // Override Bootstrap 5 variables. @import "../scss/vartheme-variables"; // Vartheme custom variables. @import "../scss/vartheme-mixins"; // Vartheme custom 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 SDC component SCSS files.