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

main.css with tailwind configuration is not sharable #208

Open
diyor28 opened this issue Mar 15, 2025 · 2 comments
Open

main.css with tailwind configuration is not sharable #208

diyor28 opened this issue Mar 15, 2025 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@diyor28
Copy link
Contributor

diyor28 commented Mar 15, 2025

Need ideas on how to make main.css be used as a lib without copying the entire file

@diyor28 diyor28 added enhancement New feature or request help wanted Extra attention is needed labels Mar 15, 2025
@diyor28 diyor28 added this to SDK core Mar 15, 2025
@ikromwin
Copy link

Hello 👋 , I’m new here as a contributor to this project.

Tailwind preset file could be good solution. You can move utility classes into a separate global.css file:

@layer components {
  .btn {
    @apply ...;
  }
 .btn-primary {
    @apply ...;
 }
}

or hosting main.css on a CDN.

@diyor28
Copy link
Contributor Author

diyor28 commented Mar 16, 2025

Hello 👋 , I’m new here as a contributor to this project.

Tailwind preset file could be good solution. You can move utility classes into a separate global.css file:

@layer components {
.btn {
@apply ...;
}
.btn-primary {
@apply ...;
}
}
or hosting main.css on a CDN.

@jcbbb what do u think of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

2 participants