Skip to content

bug: handling classnames with hyphens properly #42

Description

@gursuj
  1. A class that uses css variables as arbitrary values like bg-[--my-color] has the following css: background: var(--my-color);. Tailwind docs
    But the converter converts it to background: --my-color;

  2. Prefixing classnames with numeric values uses their negative values. e.g: -z-50 should translate to z-index: -50 but isn't converted at all

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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