Skip to content

Theme value resolution #19091

Description

@nlemoine

What version of Tailwind CSS are you using?

4.1.14

What build tool (or framework if it abstracts the build tool) are you using?

Vite 7.1.7

What version of Node.js are you using?

v20.19.5

What operating system are you using?

macOS

Reproduction URL

https://github.com/nlemoine/tailwind-resolve-bug

Describe your issue

When I'm using custom CSS vars to feed the config, value resolution fails for some values but for not for others.

https://github.com/nlemoine/tailwind-resolve-bug/blob/1807ec46aa843f94f578802dadb2c0ce9517a54f/src/style.css#L6
https://github.com/nlemoine/tailwind-resolve-bug/blob/1807ec46aa843f94f578802dadb2c0ce9517a54f/src/style.css#L7-L8

This creates inconsistent behavior regarding nesting and/or config naming.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions