Skip to content

[v4] clearing namespace for corePlugin doesn't work #14819

@rj-elias

Description

@rj-elias

What version of Tailwind CSS are you using?

v4.0.0-alpha.30

Reproduction URL

https://play.tailwindcss.com/bjEOmfVaL9

Describe your issue

@theme {
  --background-color-*: initial; /* DO NOT WORK: doesn't clear the background color namespace */
  --background-color-brand: blue; /* WORKS: extends the background color namespace with brand */
}

--background-color-brand: blue; works. It extends the background color namespace with 'brand'

--color-*: initial; works. It clear the whole color namespace
--background-color-*: initial; doesn't clear the background color namespace

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