Skip to content

[v4.0.0-alpha.28] The neutral color doesn't work well with color-mix for transparency #14740

@benjamincanac

Description

@benjamincanac

What version of Tailwind CSS are you using?

v4.0.0-alpha.28

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

Nuxt

What version of Node.js are you using?

v20.13.1

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction URL

https://ui3.nuxt.dev/getting-started

CleanShot 2024-10-21 at 17 19 10@2x

Describe your issue

It occurs when using --color-neutral-* color with a transparency: bg-neutral-900/75.

The issue might be in the definition of the color:

--color-neutral-900: oklch(0.205 0 none) -> --color-neutral-900: oklch(0.205 0 0)

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