mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-28 17:07:46 +00:00
Fix
This commit is contained in:
parent
050a240164
commit
75f65de938
1 changed files with 3 additions and 3 deletions
|
@ -59,12 +59,12 @@
|
|||
enrichedThemeOnlyColors = builtins.removeAttrs enrichedTheme [ "name" "author" "slug" ];
|
||||
|
||||
enrichedThemeHelpers = {
|
||||
with0x = builtins.mapAttrs (_: value: "0x" + value) (enrichedTheme // enrichedThemeOnlyColors);
|
||||
withHashtag = builtins.mapAttrs (_: value: "#" + value) (enrichedTheme // enrichedThemeOnlyColors);
|
||||
with0x = enrichedTheme // (builtins.mapAttrs (_: value: "0x" + value) enrichedThemeOnlyColors);
|
||||
withHashtag = enrichedTheme // (builtins.mapAttrs (_: value: "#" + value) enrichedThemeOnlyColors);
|
||||
};
|
||||
|
||||
templates = {
|
||||
tmTheme = (import ./templates/tmTheme.nix) theme;
|
||||
tmTheme = (import ./templates/tmTheme.nix) (enrichedTheme // enrichedThemeHelpers);
|
||||
};
|
||||
in enrichedTheme // enrichedThemeHelpers // templates) (import ./themes.nix);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue