1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-28 00:47:44 +00:00
This commit is contained in:
RGBCube 2023-11-26 23:22:21 +03:00
parent 050a240164
commit 75f65de938
No known key found for this signature in database

View file

@ -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);
}