feat: simplified themes module

This commit is contained in:
Nick 2025-01-18 03:50:54 -06:00
parent b0fdd1d958
commit a5ec879db0
119 changed files with 2045 additions and 4624 deletions

View file

@ -1,33 +1,27 @@
{ flake, ... }:
let
inherit (flake.config.aesthetics.themes.schemes.catppuccin-macchiato)
colours
;
inherit (flake.config.aesthetics.themes)
currentTheme
elements
schemes
palettes
font
;
el = elements;
theme = colour: schemes.${currentTheme}.colours.${colour};
el = palettes.${currentTheme}.colours;
custom = {
font = font;
font = font.name;
font_size = "12px";
font_weight = "bold";
text_color = theme el.keyword;
secondary_accent = theme el.link;
tertiary_accent = theme el.operator;
button_color = theme el.overlay2;
background_1 = colours.base;
background_2 = colours.crust;
background_3 = colours.surface2;
opacityBg = "0.90";
opacityBt = "1";
text_color = el.base0E;
secondary_accent = el.base07;
tertiary_accent = el.base15;
button_color = el.base04;
background_1 = el.base01;
background_2 = el.base00;
background_3 = el.base04;
};
in
''