Open gaborcsardi opened 5 years ago
This is more or less consistent with SVGTermTheme
:
Back when designing the interface I assumed users wold provide complete themes instead of providing partial ones (see svg-term-cli
, which uses term-schemes
to derive those). I'd lean towards keeping it this way for the sake of simplicity.
We should consider some runtime validation of passed themes, failing if a partial theme has been detected. Thoughts?
I think it is fine to keep it like this, but then maybe you could export the default theme? To make it easy to just change the line height or the font, while keeping the default theme.
Yes, let’s do that then
E.g. this currently does not work:
It will create a bad SVG.