Open xusiai opened 5 months ago
It already is, see: https://github.com/Misterio77/nix-colors/blob/fc080c51d2a219b40d886870e364243783ed5ca1/flake.nix#L9 The links in the readme are not updated to match.
It already is, see:
No it isn't. Please look at the links above a bit closer.
Hey,
I love the new formt tinted theming uses, and I think it's the way to go. Sadly switching nix-colors to it is not as straight forward as I'd like.
The main problem is that there isn't really a pure nix yaml converter available. The one we're using is hackish and does not work with more complex (e.g. non-top level attributes) yaml, which the 0.11 spec now uses.
There's a few possibilities here:
colorSchemes.<scheme>
interface to colorSchemes.<system>.<scheme>
.2.0
: inputs.follows
to switch nix-colors to different upstreamsHi @Misterio77, you can check out my fork of DavHau's fromYaml (BTW thanks for your MacOS regex fixes, I've used them there), it can read the new format (I successfully used it for my base16.nix lib)
- Pre-process and vendor JSON file(s) with the schemes
Seems conceptually unnecesary.
what about using something like yaml2nix's solution?
you can check out my fork of DavHau's fromYaml, it can read the new format (I successfully used it for my base16.nix lib)
Thank you so much for this @SenchoPens! Will definitely use it to make nix-colors compatible with the new format.
The base16 repo linked in the readme has been archived in favor of the new repo here.