Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
C17AN opened this issue Jul 30, 2024 · 0 comments
Open

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

C17AN opened this issue Jul 30, 2024 · 0 comments

Comments

@C17AN
Copy link

C17AN commented Jul 30, 2024

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

@C17AN C17AN changed the title rgb code is not highlighted when there code is not highlighted when there's floating point value Jul 30, 2024
@C17AN C17AN changed the title code is not highlighted when there's floating point value RGB code is not highlighted when there's floating point value Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant