Skip to content

RGB code is not highlighted when there's floating point value #210

@C17AN

Description

@C17AN

Including decimal points in rgba values is not correct syntax, but I have experienced situations where both the text and background turn completely black, making it difficult to verify the input values.

For example, if you incorrectly input something like rgba(0,0,0.1), both the text and background turn black, rendering the values unreadable. (Attached at screenshot)

  • Current highlight
    image

  • Expected highlight
    image


I have submitted a PR for this issue, and I would appreciate it if you could review it.

#209

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions