Commit 0e2c6710 authored by Abdullah Yassin's avatar Abdullah Yassin
Browse files

Issue #3321160: Allow override bootstrap variables

parent 7ee131b7
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -7,6 +7,16 @@
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

/*
  ************************************************************
  This file will be injected in ./bootstrap.scss file before
  variables.scss file to override default Bootstrap variables.
  ************************************************************
  See more about override Bootstrap 5 variables here:
  https://getbootstrap.com/docs/5.0/customize/sass
  ************************************************************
*/

:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
+13 −0
Original line number Diff line number Diff line
/*
  ************************************************************
  This file will be injected in ./bootstrap.scss file before
  variables.scss file to override default Bootstrap variables.
  ************************************************************
  See more about override Bootstrap 5 variables here:
  https://getbootstrap.com/docs/5.0/customize/sass
  ************************************************************
*/

// ----------------------------------------------------------------
// Override bootstrap 5 variables here:
// ----------------------------------------------------------------
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
@@ -4,6 +4,13 @@
// scss-docs-start import-stack
// Configuration
@import "../../node_modules/bootstrap/scss/functions";

// ----------------------------------------------------------------
// Override bootstrap variables
// ----------------------------------------------------------------
@import "./bootstrap-variables";
// ----------------------------------------------------------------

@import "../../node_modules/bootstrap/scss/variables";
@import "../../node_modules/bootstrap/scss/maps";
@import "../../node_modules/bootstrap/scss/mixins";
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ module.exports = {
    // SCSS
    // ################################################
    // Base
    "base/bootstrap.base": ["./styles/base/_bootstrap.scss"],
    "base/bootstrap.base": ["./styles/base/bootstrap.scss"],
    "base/style.base": ["./styles/base/style.scss"],
    "layout/edge2edge.layout": ["./styles/layout/edge2edge.layout.scss"],
    "layout/equal-height.layout": ["./styles/layout/equal-height.layout.scss"],