michaelrommel / nvim-silicon

neovim plugin to create code images using the external silicon tool.
MIT License
138 stars 9 forks source link

Autogenerate silicon theme #5

Open FineFindus opened 7 months ago

FineFindus commented 7 months ago

It would be great if the plugin had an option to generate a silicon theme from the currently used theme, similar to silicon.lua. This is useful for users who use a lot of different themes or use an unsupported theme.

michaelrommel commented 7 months ago

Interesting idea! The mentioned repo does not have a LICENSE file, so I would need to contact the authors, if I could reuse their function... Let me check on one of the next weekends...

michaelrommel commented 7 months ago

Asked for the addition of a license file in the other repo. In the meantime I saw a comment underneath the video, that s.b. thought about the colours of treesitter and that is not supported (yet) in silicon itself. So I am wondering, what would happen if I take the current colors and specify them as theme to Silicon - would they render correctly? What's your opinion on this?

michaelrommel commented 7 months ago

The other author made the lib public domain. I can try to take a look at his code and decide if I can find a way to make it work well.