Skip to content

Commit

Permalink
Merge pull request #25 from rengert/export-style-from-lib
Browse files Browse the repository at this point in the history
Export style from lib
  • Loading branch information
dkreider authored Feb 5, 2024
2 parents 54c8665 + 88cd4a5 commit 7b54725
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ And our template file.
<button mat-raised-button [mtBasicSpinner]="saving" (click)="save()">Basic</button>
```

Add our styles to yours

```scss
@import 'ngx-loading-buttons/styles';
```

## Issues 🐛

Found a bug? Want to request a feature? Confused? Or wanna simply comment on how useful this library is?
Expand Down
9 changes: 8 additions & 1 deletion projects/ngx-loading-buttons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@
"license": "MIT",
"repository": {
"url": "https://github.com/dkreider/ngx-loading-buttons"
},
"files": [
"styles.css"
],
"exports": {
"./styles": "./styles.css",
"./styles.css": "./styles.css"
}
}
}
1 change: 1 addition & 0 deletions projects/ngx-loading-buttons/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "./src/styles.css";

0 comments on commit 7b54725

Please sign in to comment.