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(admin-ui): Migrate Clarity to Tailwind #2814

Draft
wants to merge 2 commits into
base: minor
Choose a base branch
from
Draft

Conversation

davidhoeck
Copy link
Collaborator

@davidhoeck davidhoeck commented Apr 26, 2024

Description

This PR removes the styles of the Clarity design system and replaces them with Tailwind. Styling is done in a backwards compatible way, which means that all clarity classes will be removed.

Important: This is heavy WIP and more like a PoC right now. We are especially thinking about backwards compatibility.

Relates to #2903

Breaking changes

There could be some breaking changes, if extensions rely on specific Clarity classes which were not used in the Admin UI initially.

Checklist

📌 Always:

  • I have set a clear title
  • My PR is small and contains a single feature
  • I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

@davidhoeck davidhoeck marked this pull request as draft April 26, 2024 09:36
@davidhoeck davidhoeck changed the title feat(admin-ui): UI refresh feat(admin-ui): Migrate Clarity to Tailwind Apr 26, 2024
@nino-magazinovic
Copy link

@davidhoeck Cool, waiting for the release.

@davidhoeck
Copy link
Collaborator Author

@nino-magazinovic yeah, we are eager to move away from the Clarity Design System. Right now we are exploring various options, how to integrate Tailwind in the best way possible. If you have any input and ideas, they are more than welcome!

@nino-magazinovic
Copy link

nino-magazinovic commented Jun 10, 2024

@davidhoeck The solution should have established marketing, business support, Figma design system, community, example pages and components to acceleration development on admin and storefront, integration to multiple frontend frameworks, fully extendable.

Copy paste approach and clean default Vercel theme (black/white) like shadcn/ui.

Options:

  • Flowbite
  • daisyUI (abstraction of Tailwind utility classes)
  • spartan/ui (Angular component clone of shadcn/ui)
  • tw-elements

Resources:

In any case, do not change the Nestjs and Angular stack 🥇

@davidhoeck
Copy link
Collaborator Author

@nino-magazinovic thanks for the great input. We are already looking at Spartan, because it provides the same approach as Shadcn does. Only problem is that they are still in alpha, which makes it unclear for me if it is mature enough to use in our platform.

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.

None yet

2 participants