stylix: add Base24 support
The underlying base16 library now supports the tinted-theming spec aka base24. Would be nice to see this included to add more colors to themes. With base24 being compatible with base16 this could be done in slow stages.
when this lands here, the base24 github org offers implementations for a couple of applications we might use here then
Since https://github.com/tinted-theming/base24/blob/master/styling.md#base24-fallbacks is a thing, and base16-nix always generates a base24 compatible value according to that fallback rule, we should be able to just start doing this. In other words: It appears as though we already have the base24 schemes, we just aren't using them.
Yep, I don't see any reason not to start implementing this on a module-by-module basis.
It appears as though we already have the base24 schemes, we just aren't using them.
Yep, I don't see any reason not to start implementing this on a module-by-module basis.
Agreed. Until VIM highlight groups are implemented, supporting base24 schemes seems reasonable:
The solution I'm considering mimics vim's highlight groups
VIM's highlight groups might be the most scalable and practical solution I know of.
It would resolve nearly all our open issues regarding color scheme scalability. Additionally, our documentation could simply link to VIM's highlight groups documentation.
-- https://github.com/danth/stylix/issues/249#issuecomment-2012933635
Note that implementing VIM highlight groups is a non-trivial task. Supporting base24 yields faster and easier results.