Skip to content

Commit

Permalink
feat: angular 15, add toastr-bs5-alert.scss (#963)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: support angular 15

fixes #962
fixes #887
  • Loading branch information
scttcper authored Nov 17, 2022
1 parent 7dc1745 commit bc77677
Show file tree
Hide file tree
Showing 12 changed files with 5,166 additions and 6,876 deletions.
17 changes: 0 additions & 17 deletions .browserslistrc

This file was deleted.

15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,21 @@ Don't want to use `@angular/animations`? See

```scss
// regular style toast
@import '~ngx-toastr/toastr';
@import 'ngx-toastr/toastr';

// bootstrap style toast
// or import a bootstrap 4 alert styled design (SASS ONLY)
// should be after your bootstrap imports, it uses bs4 variables, mixins, functions
@import '~ngx-toastr/toastr-bs4-alert';
@import 'ngx-toastr/toastr-bs4-alert';

// if you'd like to use it without importing all of bootstrap it requires
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/mixins';
@import '~ngx-toastr/toastr-bs4-alert';
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
// bootstrap 4
@import 'ngx-toastr/toastr-bs4-alert';
// boostrap 5
@import 'ngx-toastr/toastr-bs5-alert';
```

- If you are using angular-cli you can add it to your angular.json
Expand Down
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,6 @@
}
},
"cli": {
"analytics": false
}
}
Loading

0 comments on commit bc77677

Please sign in to comment.