ozwaldorf / carburetor

Carburetor - A functional and high contrast colorscheme inspired by IBM Carbon.
Creative Commons Zero v1.0 Universal
28 stars 1 forks source link

feature: nix lib to generate custom catppuccin themes #4

Closed ozwaldorf closed 4 months ago

ozwaldorf commented 4 months ago

Carburetor should be able to house something like this:

fooThemeOverlay = inputs.carburetor.lib.mkCustomTheme {
  name = "foo";
  colors = {
    mocha = { ... };
  };
  flavor_names = {
    mocha = "regular";
  };
};

pkgs = import nixpkgs {
  inherit system;
  overlays = [ fooThemeOverlay ];
};

Which would provide the complete package set overridden and patched to the inputs. After this, the nix flake for the carburetor theme should just parse src/whiskers.json for the color overrides, and output the overlay and packages