Skip to content

Default ringColor has opacity baked into it #7800

@ekfuhrmann

Description

@ekfuhrmann

What version of Tailwind CSS are you using?

v3.0.22

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

postcss 8.4.6, webpack 5.65.0

What version of Node.js are you using?

For example: v17.5.0

What browser are you using?

Edge (Chromium)

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/DXtIUnfIC0

Describe your issue

When trying to set the default color for ringColor, it seems like an opacity of 0.5 is being applied regardless of the defined color. In my example I wanted to set the default ring color to be #000, but the output ends up becoming --tw-ring-color: rgb(0 0 0 / 0.5);.

Ideally, I'd like to be able override that default opacity with a defined opacity of my own choosing, or have the color defined for DEFAULT just override whatever opacity is being applied.

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