tstypecolorpreview
v0.0.7
Published
Preview the colors of Typescript types and union types that correspond to a color value
Downloads
3
Maintainers
Readme
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
After
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!