Skip to content

Commit

Permalink
Merge pull request #4 from f1mishutka/master
Browse files Browse the repository at this point in the history
Ability to include theme without importing bootstrap from pre-defined path added
  • Loading branch information
apalfrey committed Mar 13, 2021
2 parents ac028ab + d41d20e commit ae816e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $ composer require apalfrey/select2-bootstrap-5-theme
#### SCSS
```scss
@import "node_modules/select2/src/scss/core";
@import "node_modules/select2-bootstrap-5-theme/src/select2-bootstrap-5-theme";
@import "node_modules/select2-bootstrap-5-theme/src/include-all";
```

## Usage
Expand Down
10 changes: 10 additions & 0 deletions src/_include-all.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@import "variables";

@import "layout";
@import "dropdown";
@import "single";
@import "multiple";
@import "disabled";
@import "input-group";
@import "validation";
@import "sizing";
11 changes: 1 addition & 10 deletions src/select2-bootstrap-5-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,4 @@
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";

@import "variables";

@import "layout";
@import "dropdown";
@import "single";
@import "multiple";
@import "disabled";
@import "input-group";
@import "validation";
@import "sizing";
@import "include-all";

0 comments on commit ae816e5

Please sign in to comment.