Skip to content

Commit

Permalink
chore: correctly use Bootstrap variable overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Nov 14, 2024
1 parent 8ffcabb commit 325567f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions bootstrap5-demo-with-locales/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

$primary-color: #0d6efd;

@use 'bootstrap';
// @use 'bootstrap' with (
// $primary: $primary-color
// );
@use 'bootstrap/scss/bootstrap' with(
$primary: $primary-color
);

// -- 1. load with modern `@use`
// @use '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-bootstrap.scss';
Expand Down
7 changes: 3 additions & 4 deletions bootstrap5-demo-with-translate/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

$primary-color: #0d6efd;

@use 'bootstrap';
// @use 'bootstrap' with (
// $primary: $primary-color
// );
@use 'bootstrap/scss/bootstrap' with(
$primary: $primary-color
);

// -- 1. load with modern `@use`
// @use '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-bootstrap.scss';
Expand Down

0 comments on commit 325567f

Please sign in to comment.