-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: make Tailwind UI the new UI default #1902
Conversation
🦋 Changeset detectedLatest commit: c0cd68e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Visit the preview URL for this PR (updated for commit c0cd68e): https://penumbra-ui-preview--pr1902-feat-apply-ui-tailwi-jsgz4guf.web.app (expires Fri, 15 Nov 2024 11:20:34 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1 |
498ab9c
to
c0cd68e
Compare
import { withPenumbra } from '@penumbra-zone/ui/theme'; | ||
|
||
// Provide your own theme and plugins inside the `withPenumbra` hook | ||
export default withPenumbra({ | ||
content: ['./src/**/*.{js,ts,jsx,tsx,mdx,css}'], | ||
theme: {}, | ||
plugins: [], | ||
}); | ||
``` | ||
|
||
In your main file, import Penumbra UI global styles: | ||
|
||
```ts | ||
import '@penumbra-zone/ui/style.css'; | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should have done this from the beginning 😅 . Having it segmented like this is helpful!
Closes #1896
This PR:
ui
toui-deprecated
with all import paths fromminifront
andnode-status
updated tooui-tailwind
toui
, not used in the Web repo for now