stylix: add accent color

I spent an hour just to add one f*ing option
This commit is contained in:
2026-06-08 03:24:54 +03:00
parent c8b5900985
commit 98434b79cf
9 changed files with 56 additions and 14 deletions
+2 -6
View File
@@ -1,15 +1,11 @@
{ stdenv, lib, config, colors, username, ... }:
{ stdenv, colors, accent ? colors.base0B, ... }:
stdenv.mkDerivation {
name = "AGS theme";
src = ./ags;
dontUnpack = true;
patchPhase = let
accent = if username == "chest"
then colors.base0E
else colors.base0B;
in ''
patchPhase = ''
echo \$bg: \#${colors.base00}\; > colors.scss
echo \$surface0: \#${colors.base02}\; >> colors.scss
echo \$fg: \#${colors.base05}\; >> colors.scss