Skip to content

Commit

Permalink
Add small note to tailwind setup
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Aug 19, 2023
1 parent 451576d commit 396963d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ module.exports = {

A few notes regarding the config

- `./node_modules/svelte-ux/**/*.{svelte,js}` makes sure all the library classes are JIT added
- Define `accent` color of your choice. Many components utilize this color and more are being updated to do so.
- Currently `svelte-ux` provides a tailwind plugin to use more [realistic shadows](https://www.joshwcomeau.com/css/designing-shadows/) by having multiple shadow layers, unlike the current Tailwind [shadows](https://tailwindcss.com/docs/box-shadow) which have at most 2 layers, exposed as `elevation-#` classes. This may change in the future.
- The `tailwindcss-forms` plugin should not be used. The styles that it sets up for inputs conflict with the styles used by `svelte-ux`.
Expand Down

1 comment on commit 396963d

@vercel
Copy link

@vercel vercel bot commented on 396963d Aug 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.