KamiKillertO / vscode-colorize

A vscode extension to help visualize css colors in files
Apache License 2.0
271 stars 37 forks source link

Flutter fromARGB #919

Open Alyaqdhans opened 3 weeks ago

Alyaqdhans commented 3 weeks ago

it doesn't work for 'fromARGB' function in Flutter image image

my settings

"colorize.include": [
    "*"
],
"colorize.colorized_colors": [
    "BROWSERS_COLORS",
    "ARGB",
    "HEXA",
    "RGB",
    "HSL"
],
KamiKillertO commented 5 days ago

It's because the ARGB format supported is #AARRGGB, #ARGB, #RGB, #RRGGBB. Right now, the extension only officially supports CSS-like documents (.css, .scss, .less) and thinks that looks like CSS. Adding support for new language or color is getting hard and has a impacts on the extension performances. I'm planning on modifying how the extension works to relly on language server, which should simply adding support for other languages and new color types