madskristensen / EditorColorPreview

Apache License 2.0
21 stars 5 forks source link

Add support for TSX/JSX files #4

Closed MariaSolOs closed 2 years ago

MariaSolOs commented 2 years ago

With modern web dev libraries (such as MUI and styled-components) styles are no longer constrained to .css files and one can include stylesheets in TSX/JSX files (such as in this React button for example). Because this is such a common pattern, it would be great for this extension to also preview the colors in this kind of files.

If this sounds like a good idea I would be happy to work on the implementation! :)

madskristensen commented 2 years ago

Fixed in latest release