usagi-flow / evil-helix

Bringing the Helix editor to the evil side
https://github.com/usagi-flow/helix
Mozilla Public License 2.0
280 stars 7 forks source link

The default theme is still the purple theme #8

Open usagi-flow opened 3 months ago

usagi-flow commented 3 months ago

As discovered in #4: Helix loads the purple theme at compile time, and loads it a bit differently at runtime compared to other themes. This makes it problematic if the new default theme uses inheritance.

A very hacky solution would be to provide a "flattened" copy of the theme, i.e. one that doesn't use inheritance. A less hacky but still hacky solution would be to flatten the theme at build time. The ideal solution would be to solve this situation at runtime, keeping in mind that the editor should be able to load its theme even if the runtime directory isn't found.