Skip to content

Commit

Permalink
fix: add back px
Browse files Browse the repository at this point in the history
  • Loading branch information
hwkr committed May 27, 2024
1 parent 1896f2b commit 7a870cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pnpm i @scalar/theme @scalar/components
In your main setup file (main.ts etc)

```ts
import '@scalar/themes/fonts.css'
import '@scalar/themes/base.css'
import '@scalar/themes/fonts.css'
```

Then to use the components
Expand Down
3 changes: 3 additions & 0 deletions packages/components/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export default {
],
theme: {
extend: {
spacing: {
px: '1px',
},
maxWidth: {
'screen-xs': '480px',
'screen-sm': '540px',
Expand Down

0 comments on commit 7a870cd

Please sign in to comment.