Skip to content
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

Merged
merged 9 commits into from
Nov 9, 2024
Merged

Conversation

VanishMax
Copy link
Contributor

Closes #1896

This PR:

  • Renames ui to ui-deprecated with all import paths from minifront and node-status updated too
  • Renames ui-tailwind to ui, not used in the Web repo for now

@VanishMax VanishMax requested a review from a team November 8, 2024 11:09
@VanishMax VanishMax self-assigned this Nov 8, 2024
Copy link

changeset-bot bot commented Nov 8, 2024

🦋 Changeset detected

Latest commit: c0cd68e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@penumbra-zone/ui Major

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

Base automatically changed from feat/ui-tailwind to main November 8, 2024 11:14
Copy link
Contributor

github-actions bot commented Nov 8, 2024

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

Comment on lines +22 to 36
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';
```
Copy link
Contributor Author

Choose a reason for hiding this comment

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

new readme

Copy link
Collaborator

@grod220 grod220 left a 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!

@VanishMax VanishMax merged commit 1b8a2a1 into main Nov 9, 2024
8 checks passed
@VanishMax VanishMax deleted the feat/apply-ui-tailwind branch November 9, 2024 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tailwind UI library PoC
2 participants