1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-28 17:07:46 +00:00

Expose raw themes

This commit is contained in:
RGBCube 2023-11-28 14:25:03 +03:00
parent f51353fe8a
commit 96f402df7f
No known key found for this signature in database
2 changed files with 14 additions and 1 deletions

View file

@ -2,6 +2,8 @@
description = "Theme your NixOS configuration consistently.";
outputs = { self }: {
raw = import ./themes.nix;
custom = theme: let
onlyColors = builtins.removeAttrs theme [ "name" "author" ];
@ -15,5 +17,5 @@
tmTheme = (import ./templates/tmTheme.nix) themeFull;
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
};
} // builtins.mapAttrs (name: self.custom) (import ./themes.nix);
} // builtins.mapAttrs (name: self.custom) self.raw;
}