Skip to content

Regarding default tailwind tokens #3

@starlord13599

Description

@starlord13599

Hey, first of all great course, loved it and many thanks for such a wonderful course

Secondly i am not sure if creating a GitHub issue is the right way to ask this question , so sorry in advance 🙂

in the above line mentioned you used --background-color-highlight: #00ffe1 as a token in themes layer, but according to docs there no such namespace called --background-color-* mentioned in tailwind v4.

and using them as bg-highlight just worked as expected

https://tailwindcss.com/docs/theme#default-theme-variable-reference
here we don't have any --background-color namespace.

Am I missing something or is this a loophole?

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