tobiastimm / code-theme-converter

Convert any Visual Studio Code Theme to Sublime Text 3 or IntelliJ IDEA
MIT License
138 stars 11 forks source link

Only single theme is installed in case of multiple themes. #15

Closed adipro7 closed 3 years ago

adipro7 commented 4 years ago

I tried to convert AposTheme which is only available for VS Code to Sublime Text Theme. Apos Theme has 4 colour schemes: Blue, Gray, Red and Green. When I tried the code converter on the following repo: AposTheme, it only converted the last one which is the Red theme. I think it is because of the alphabetical order or an Overwriting Issue which can be solved by giving the file name a number. Thanks!

tobiastimm commented 3 years ago

Sry for the late reply! I will take a look! Thanks for reporting

tobiastimm commented 3 years ago

I have looked into that. I'm grabbing the name specified in the theme.json. IMO; this name should be equal to the theme's file-name or variant. The theme you mentioned is overwriting that name within the package.json. If this use-case happens more often, I would consider changing that, but most themes specify the names correctly.