d4rkr00t / language-stylus

Stylus language support for Visual Studio Code
MIT License
44 stars 12 forks source link

Color preview not functioning properly when using hex values #96

Closed AlekEagle closed 2 years ago

AlekEagle commented 2 years ago

Color previews seem to break when using hex to define a color. example of bug I do use SynthWave '84, however, the modification from the extension does not affect the color preview in any other language, so I have come to believe that the bug stems from the addon itself.

iChenLei commented 2 years ago

@AlekEagle Thanks for bug report.

2021-12-06 10 27 16

I reproduce it, will try to fix next weeks.

g191091788 commented 2 years ago

@iChenLei

create_attr()
  for key,value in $attrs
    // 这可行吗
    {key}:value unless @{key};