Skip to content

Calculation of multiple theme() does not work in arbitrary properties #11034

@Serator

Description

@Serator

What version of Tailwind CSS are you using?

v3.3.1

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

play.tailwindcss.com

What browser are you using?

Chrome

What operating system are you using?

Windows

Reproduction URL

https://play.tailwindcss.com/1Z2PI86485

Describe your issue

The calc() function breaks when it has more than one occurrence of theme(). This only happens in arbitrary properties. In arbitrary values, everything works as expected.

I can't be 100% sure, but it seems to have worked in previous versions of Tailwind.

Metadata

Metadata

Assignees

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