refactor: abstacted records

This commit is contained in:
Nick 2025-06-26 21:20:09 -05:00
parent 64572cb106
commit 06a684fa32
42 changed files with 211 additions and 202 deletions

View file

@ -1,23 +1,7 @@
{ moduleFunctions }:
let
currentTheme0 = catppuccin-macchiato;
brogrammer = "brogrammer";
catppuccin-frappe = "catppuccin-frappe";
catppuccin-latte = "catppuccin-latte";
catppuccin-macchiato = "catppuccin-macchiato";
catppuccin-mocha = "catppuccin-mocha";
chalk = "chalk";
deep-oceanic-next = "deep-oceanic-next";
dracula = "dracula";
espresso = "espresso";
flat = "flat";
framer = "framer";
github = "github";
hardcore = "hardcore";
one-black = "one-black";
one-dark = "one-dark";
one-light = "one light";
sparky = "sparky";
inherit (moduleFunctions) themesFunctions;
currentTheme0 = themesFunctions.catppuccin-macchiato;
in
{
@ -48,23 +32,23 @@ in
onePath = /one;
in
{
${brogrammer} = import (palettePath + /brogrammer);
${catppuccin-frappe} = import (palettePath + catppuccinPath + /frappe);
${catppuccin-latte} = import (palettePath + catppuccinPath + /latte);
${catppuccin-macchiato} = import (palettePath + catppuccinPath + /macchiato);
${catppuccin-mocha} = import (palettePath + catppuccinPath + /mocha);
${chalk} = import (palettePath + /chalk);
${deep-oceanic-next} = import (palettePath + /deep-oceanic-next);
${dracula} = import (palettePath + /dracula);
${espresso} = import (palettePath + /espresso);
${flat} = import (palettePath + /flat);
${framer} = import (palettePath + /framer);
${github} = import (palettePath + /github);
${hardcore} = import (palettePath + /hardcore);
${one-black} = import (palettePath + onePath + /black);
${one-dark} = import (palettePath + onePath + /dark);
${one-light} = import (palettePath + onePath + /light);
${sparky} = import (palettePath + /sparky);
${themesFunctions.brogrammer} = import (palettePath + /brogrammer);
${themesFunctions.catppuccin-frappe} = import (palettePath + catppuccinPath + /frappe);
${themesFunctions.catppuccin-latte} = import (palettePath + catppuccinPath + /latte);
${themesFunctions.catppuccin-macchiato} = import (palettePath + catppuccinPath + /macchiato);
${themesFunctions.catppuccin-mocha} = import (palettePath + catppuccinPath + /mocha);
${themesFunctions.chalk} = import (palettePath + /chalk);
${themesFunctions.deep-oceanic-next} = import (palettePath + /deep-oceanic-next);
${themesFunctions.dracula} = import (palettePath + /dracula);
${themesFunctions.espresso} = import (palettePath + /espresso);
${themesFunctions.flat} = import (palettePath + /flat);
${themesFunctions.framer} = import (palettePath + /framer);
${themesFunctions.github} = import (palettePath + /github);
${themesFunctions.hardcore} = import (palettePath + /hardcore);
${themesFunctions.one-black} = import (palettePath + onePath + /black);
${themesFunctions.one-dark} = import (palettePath + onePath + /dark);
${themesFunctions.one-light} = import (palettePath + onePath + /light);
${themesFunctions.sparky} = import (palettePath + /sparky);
};
};
}