stylix: add accent color

I spent an hour just to add one f*ing option
This commit is contained in:
Sweetbread committed 2026-06-08 03:25:28 +03:00
1 parent c8b5900985
commit 98434b79cf
9 files changed
+56 -14

No files matched your search

+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