Misterio77 / nix-colors

Modules and schemes to make theming with Nix awesome.
GNU General Public License v3.0
465 stars 38 forks source link

Switch to new base16 repository #44

Open xusiai opened 5 months ago

xusiai commented 5 months ago

The base16 repo linked in the readme has been archived in favor of the new repo here.

AviiNL commented 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.

xusiai commented 5 months ago

It already is, see:

No it isn't. Please look at the links above a bit closer.

Misterio77 commented 4 months ago

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:

SenchoPens commented 4 months ago

Hi @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)

RusticCraftsman commented 4 months ago
  • Pre-process and vendor JSON file(s) with the schemes

Seems conceptually unnecesary.

what about using something like yaml2nix's solution?

Misterio77 commented 3 months ago

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.