issue 605: improve the way chill loads bootstrap module

custom variables are loaded before bootstrap variables, custom maps are loaded after
This commit is contained in:
2022-07-22 14:08:43 +02:00
parent d7c1498882
commit ddd0aeb7b4
4 changed files with 131 additions and 1480 deletions

View File

@@ -1,14 +1,23 @@
// Configuration
/*
* This shared file is used in Chill sass sheets and Vue sass styles to use some bootstrap/chill variables.
* Search on @import 'ChillMainAssets/module/bootstrap/shared';
*/
// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
@import "bootstrap/scss/functions";
/*
* Replaced by CHILL variables
* it is necessary to keep the possibility of making a diff with original !
* original: "bootstrap/scss/variables";
*/
// 2. Include any default variable overrides here
@import "custom/_variables";
// 3. Include remainder of required Bootstrap stylesheets
@import "bootstrap/scss/variables";
// 4. Include any default map overrides here
@import "custom/_maps";
// 5. Include remainder of required parts
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/root";