Closed (fixed)
Project:
Varbase Components
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2023 at 20:17 UTC
Updated:
10 Sep 2023 at 18:29 UTC
Jump to comment: Most recent
Bootstrap 5.3.0 stable was released on May 30, 2023 by XhmikosR
https://github.com/twbs/bootstrap/releases/tag/v5.3.0
Bootstrap variables dark.
Needs to be imported before compiling Bootstrap
5.3.0
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.
bootstrap to ~5.3.0 in the package.json file@import "../node_modules/bootstrap/scss/variables-dark"; // Bootstrap variables dark. in the global defaults components/_default.scss file.yarn install to update the yarn.lock file.yarn components:buildHave the following in the
_defaults.scssGlobal 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.
~5.2.0 to ~5.3.0 in Varbase Components
Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshah✅ Released varbase_components-2.0.0-alpha6
Comment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshah✅ Released Varbase 10.0.0-beta1