lit-analyzer
lit-analyzer copied to clipboard
Colour selector is shown for symbols that are not colours
Thank you for all your work on this very useful plugin. I just noticed a slight issue when working with the new Javascript private methods. If the name of the method could represent a CSS colour, lit-plugin displays a colour selection box.
This only seems to occur when the characters following the #
could represent a colour. #add
is a legal HTML colour so the box is displayed. If it was changed to something else, for example removeFoo
, there is no box because r
is not a valid hex digit.