mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-28 17:07:46 +00:00
Expose raw themes
This commit is contained in:
parent
f51353fe8a
commit
96f402df7f
2 changed files with 14 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue