how to bring the vscode css color picker feature into js file with string that match color name format?
I found colorize which can highlight JavaScript and TypeScript (among others) GitHub
In your settings.json
in VSCode just add languages you'd like to target:
"colorize.languages": ["typescript", "javascript", "css", "scss"]
To anyone who uses Colorize and wants it to work on their React project (css in js and such):
use
"colorize.languages": ["javascriptreact", "javascript", "css", "scss"]
as apparently "javascriptreact" is needed and not "javascript"