Skip to content

Commit

Permalink
chore(docs): fix scss import statements
Browse files Browse the repository at this point in the history
closes #100
  • Loading branch information
Limon Monte committed Aug 29, 2022
1 parent 09160f8 commit 90b4f85
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import Swal from 'sweetalert2/dist/sweetalert2.js';
`your-app.scss`:

```scss
@import 'sweetalert2/themes/dark/dark.scss';
@import '@sweetalert2/themes/dark/dark.scss';
```

## Contributing
Expand Down
4 changes: 2 additions & 2 deletions bootstrap-4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-bootstrap-4/bootstrap-4.scss';
@import '@sweetalert2/theme-bootstrap-4/bootstrap-4.scss';
```
4 changes: 2 additions & 2 deletions borderless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-borderless/borderless.scss';
@import '@sweetalert2/theme-borderless/borderless.scss';
```
4 changes: 2 additions & 2 deletions bulma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-bulma/bulma.scss';
@import '@sweetalert2/theme-bulma/bulma.scss';
```
4 changes: 2 additions & 2 deletions dark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-dark/dark.scss';
@import '@sweetalert2/theme-dark/dark.scss';
```
4 changes: 2 additions & 2 deletions default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-default/default.scss';
@import '@sweetalert2/theme-default/default.scss';
```
4 changes: 2 additions & 2 deletions material-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-material-ui/material-ui.scss';
@import '@sweetalert2/theme-material-ui/material-ui.scss';
```
4 changes: 2 additions & 2 deletions minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ With SASS:

`your-app.js`:
```js
import Swal from 'sweetalert2/dist/sweetalert2.js'
import Swal from 'sweetalert2/dist/sweetalert2.js';
```

`your-app.scss`:
```scss
@import 'sweetalert2/theme-minimal/minimal.scss';
@import '@sweetalert2/theme-minimal/minimal.scss';
```
2 changes: 1 addition & 1 deletion wordpress-admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import Swal from 'sweetalert2/dist/sweetalert2.js'

`your-app.scss`:
```scss
@import 'sweetalert2/theme-wordpress-admin/wordpress-admin.scss';
@import '@sweetalert2/theme-wordpress-admin/wordpress-admin.scss';
```

Integration
Expand Down

0 comments on commit 90b4f85

Please sign in to comment.