-
Notifications
You must be signed in to change notification settings - Fork 380
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
refactor(tailwindcss): allow to use tools.tailwindcss.theme #4506
refactor(tailwindcss): allow to use tools.tailwindcss.theme #4506
Conversation
🦋 Changeset detectedLatest commit: 98ee189 The changes in this PR will be included in the next version bump. This PR includes changesets to release 265 packages
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 |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4506 +/- ##
==========================================
- Coverage 57.59% 52.04% -5.56%
==========================================
Files 672 672
Lines 17794 18427 +633
Branches 3876 4273 +397
==========================================
- Hits 10249 9590 -659
- Misses 6934 8146 +1212
- Partials 611 691 +80 ☔ View full report in Codecov by Sentry. |
Summary
Ref: #4509
🤖 Generated by Copilot at 98ee189
This pull request improves the integration of the
designSystem
configuration with Tailwind CSS in the@modern-js/plugin-tailwindcss
package and the related documentation. It simplifies the Tailwind CSS configuration by using thedesignSystem
configuration as thetheme
configuration, and updates the documentation to reflect this change and provide more clarity. It also fixes some typos and errors in the documentation and the code.Details
🤖 Generated by Copilot at 98ee189
@modern-js/plugin-tailwindcss
package to use thedesignSystem
configuration as thetheme
configuration for Tailwind CSS, and remove the restriction that thetheme
property is not allowed in thetailwind.config.ts
file. (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)designSystem
andtools.tailwindcss
configurations in themain-doc
andmodule-doc
packages, and explain how they work with the Tailwind CSS theme. (link, link, link, link, link, link, link, link, link, link, link, link, link, link)plugin-tailwind
package, such as the commented-out code in thedesign-token/cli/index.ts
file and the unused imports in thetailwind.ts
file. (link, link)Related Issue
Checklist
pnpm run change
.