Skip to content

[BUG] className shadow-md and shadow-[#custom-color] are conflicting #298

Closed
@rlawlsyoung

Description

@rlawlsyoung

Describe the bug
shadow-md, shadow-[#customcolor] are conflicting.
But, shadow-md shadow-cyan-500 are not conflicting.
I'm not familiar with tailwind so I'm not sure, but I suspect it's a bug

To Reproduce
Steps to reproduce the behavior:

  1. Add the className shadow-md shadow-[#customcolor] to a single HTML tag. (shadow size can be any size)
  2. Run eslint ./src --fix command
  3. Error: Classnames shadow-md, shadow-[#customcolor] are conflicting!
  4. But, shadow-md shadow-cyan-500 are not conflicting.

Screenshots
스크린샷 2023-12-21 오후 6 17 54

Environment (please complete the following information):

  • OS: Mac OS
  • Softwares + version used: Node v18.17.0 + pnpm 8.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions