0.0.7 • Published 7 days ago

tstypecolorpreview v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 days ago

TS Type Color Preview

This extension allows previewing the colors of typescript types and union types that correspond to color values

Features

Hover on a variable with a color value as its type to see a preview of the possible colors

Before

type before 1 hover before 1

type before 2 hover before 2

After

hover after 1 hover after 2

Notes

This extension was inteded for my own use, if you notice any issues feel free to suggest a fix or open a PR.

Known Issues

  • Types originating files other than the active one might be cached and not up to date with the latest changes. This can be fixed by quickly hovering on something in the original file.

Release Notes

0.0.6

Now supports most color formats

0.0.4

Better representation of transparent colors

0.0.1

Initial release


Enjoy!

0.0.3

11 days ago

0.0.5

11 days ago

0.0.4

11 days ago

0.0.7

7 days ago

0.0.6

7 days ago

0.0.2

29 days ago