Skip to content

SvelteKit guide could be better #1221

@longrunningprocess

Description

@longrunningprocess

ref: https://tailwindcss.com/docs/guides/sveltekit

I noticed a problem in @apply when I tried using a modifier and it resulted in me having to consult https://github.com/svelte-add/tailwindcss to get the configuration just right.

   @apply text-sky-500

worked just fine but when I tried to add the dark modifier things broke some syntax:

   @apply text-sky-500 dark: text-sky-700

Once I ran the svelte-add, everything worked fine.

I'm wondering whether the guide could simply point to the svelte-add/tailwindcss repo above or at least make an "advanced config" note about?

Thanks for the consideration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions