Skip to content

Commit

Permalink
Address sass deprecation warnings in bootstrap styles
Browse files Browse the repository at this point in the history
This change is due to sass update incorporating the following
breaking change:
https://sass-lang.com/documentation/breaking-changes/mixed-decls/
  • Loading branch information
rnathuji committed Jul 23, 2024
1 parent 505c0f8 commit f9e1541
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/styles/bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,6 @@
// NOTE: This approach may result in some unexpected issues that we'll have
// to address as they arise

/* stylelint-disable no-invalid-position-at-import-rule */

// Required styles
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/variables-dark";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/maps";
@import "bootstrap/scss/root";
@import "bootstrap/scss/reboot";

// Additional styles
@import "bootstrap/scss/helpers";
@import "bootstrap/scss/buttons";
@import "bootstrap/scss/forms";
@import "bootstrap/scss/tooltip";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
@import "bootstrap/scss/spinners";
@import "bootstrap/scss/accordion";
@import "bootstrap/scss/transitions";

// The following are copied from bootstrap.css where the definitions under
// :root are otherwise not applied when namespaced so manually defined here
--bs-blue: #0d6efd;
Expand Down Expand Up @@ -145,6 +123,28 @@
--bs-form-invalid-color: #dc3545;
--bs-form-invalid-border-color: #dc3545;

/* stylelint-disable no-invalid-position-at-import-rule */

// Required styles
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/variables-dark";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/maps";
@import "bootstrap/scss/root";
@import "bootstrap/scss/reboot";

// Additional styles
@import "bootstrap/scss/helpers";
@import "bootstrap/scss/buttons";
@import "bootstrap/scss/forms";
@import "bootstrap/scss/tooltip";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
@import "bootstrap/scss/spinners";
@import "bootstrap/scss/accordion";
@import "bootstrap/scss/transitions";

// Variables
$os-default-answer-border-color: #424242;
$os-medium-gray: #626262;
Expand Down

0 comments on commit f9e1541

Please sign in to comment.