Skip to content

Commit

Permalink
Fixes sass again (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsnow301 authored Jan 5, 2025
1 parent a42c797 commit a518107
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ You have two options for importing styles:
To import all styles at once, add the following line to your main Sass file:

```scss
@use "pkg:tgui-core/styles";
@use "~tgui-core/styles";
```

### 2. Importing Individual Styles

To import individual styles, add any of the exported styles to your main Sass file:

```scss
@use "pkg:tgui-core/styles/components/Button";
@use "pkg:tgui-core/styles/components/Dialog";
@use "pkg:tgui-core/styles/components/NoticeBox";
@use "~tgui-core/styles/components/Button.scss";
@use "~tgui-core/styles/components/Dialog.scss";
@use "~tgui-core/styles/components/NoticeBox.scss";
```

## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"default": "./lib/styles/main.scss",
"sass": "./lib/styles/main.scss"
},
"./styles/components/*": {
"./styles/components/*.scss": {
"sass": "./lib/styles/components/*.scss"
}
},
Expand Down

0 comments on commit a518107

Please sign in to comment.