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

Tailwind Plugins Missing in the CLI #443

Open
bst2k opened this issue Feb 9, 2025 · 3 comments
Open

Tailwind Plugins Missing in the CLI #443

bst2k opened this issue Feb 9, 2025 · 3 comments
Labels
enhancement New feature or request pkg:add sv add

Comments

@bst2k
Copy link

bst2k commented Feb 9, 2025

Describe the bug

After creating a Project the Plugin Part is missing:

◆ Which plugins would you like to add?
│ ◻ typography (@tailwindcss/typography)
│ ◻ forms
│ ◻ container-queries
│ ◻ aspect-ratio

Reproduction

npx sv create

Logs

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics
    Memory: 16.23 GB / 31.89 GB
  Binaries:
    Node: 22.13.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (132.0.2957.140)
    Internet Explorer: 11.0.19041.4355

Severity

annoyance

@Conduitry Conduitry transferred this issue from sveltejs/svelte Feb 9, 2025
@manuel3108 manuel3108 added enhancement New feature or request pkg:add sv add labels Feb 9, 2025
@manuel3108 manuel3108 pinned this issue Feb 9, 2025
@manuel3108
Copy link
Member

Good point, forgot to precautiously open an issue.

There is a known "regression" after migrating to tailwindcss version 4. There has been a ongoing discussion about this in the relevant PR #422.

tl;dr: The two relevant plugins typography and forms have not been properly updated to support tailwindcss v4 and syntax changes. Plugins should be included by using the @plugin syntax which is pointed out as beeing legacy in the tailwindcss docs. As we don't want to scaffold a project using legacy syntax we have currently decided to implement those plugins.

But depending on community feedback, we might reconsider this decision in the near future.

@verbxtim
Copy link

this makes it a lot harder to get started with a new sveltekit project, should be fixed asap

@benmccann
Copy link
Member

The plugin's docs have been updated, but this question is still unclear to me. I've asked here: tailwindlabs/tailwindcss-typography#372 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pkg:add sv add
Projects
None yet
Development

No branches or pull requests

4 participants