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

Radix Themes + Tailwind Harmony #3355

Merged
merged 4 commits into from
May 28, 2024
Merged

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented May 21, 2024

Improve compatibility with tailwind classes used on Radix Themes components. According to the guide
https://www.radix-ui.com/themes/docs/overview/styling#tailwind-base-styles

  • Setup postcss-import and manually import Tailwind base styles via @import tailwindcss/base before Radix Themes styles.
  • If tailwind is NOT used, then bring in the styles via JS CSS import, like before.

masenf added 2 commits May 21, 2024 12:21
Improve compatibility with tailwind classes used on Radix Themes components.
According to the guide
https://www.radix-ui.com/themes/docs/overview/styling#tailwind-base-styles

* Setup postcss-import and manually import Tailwind base styles via @import
  tailwindcss/base before Radix Themes styles.
* If tailwind is NOT used, then bring in the styles via JS CSS import,
  like before.
reflex/components/radix/themes/base.py Outdated Show resolved Hide resolved
@picklelo picklelo merged commit ac1c660 into main May 28, 2024
47 checks passed
benedikt-bartscher pushed a commit to benedikt-bartscher/reflex that referenced this pull request Jun 3, 2024
@masenf masenf deleted the masenf/radix-tailwind-harmony branch June 25, 2024 02:21
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.

3 participants