From f5538e69a5a3569527ef11f93fd0123fc997f626 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Mon, 2 Dec 2024 21:00:01 +0100 Subject: [PATCH] better color changing (maual) --- home-modules/color-pallete.nix | 33 ++-- home-modules/hyprland.nix | 8 +- home-modules/wallpaper-to-colors.nix | 253 ++++++++++++++------------- 3 files changed, 150 insertions(+), 144 deletions(-) diff --git a/home-modules/color-pallete.nix b/home-modules/color-pallete.nix index b8731de..ea4696c 100644 --- a/home-modules/color-pallete.nix +++ b/home-modules/color-pallete.nix @@ -5,17 +5,18 @@

${color-name}.dark

+

${color-set.dark}

${color-name}.base

+

${color-set.base}

${color-name}.bright

+

${color-set.bright}

''; - - in /* html */ '' @@ -37,7 +38,7 @@ color: ${foreground}; width: fit-content; margin: 10px auto 10px auto; - background: ${background}; + background: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency}); border: ${builtins.toString rice.border-width}px solid ${border}; border-radius: ${builtins.toString rice.rounding}px; padding: ${builtins.toString rice.gap-size}px; @@ -66,18 +67,20 @@ ${cb accent "accent" 100} ${cb secondary "secondary" 100} ${cb tertiary "tertiary" 100} - ${cb weird "weird" 75} - ${cb special "special" 75} - ${cb positive "positive" 30} - ${cb negative "negative" 30} - ${cb black "black" 25} - ${cb white "white" 25} - ${cb blue "blue" 25} - ${cb cyan "cyan" 25} - ${cb green "green" 25} - ${cb magenta "magenta" 25} - ${cb red "red" 25} - ${cb yellow "yellow" 25} + ${cb weird "weird" 100} + ${cb special "special" 100} +
+ ${cb positive "positive" 70} + ${cb negative "negative" 70} +
+ ${cb black "black" 50} + ${cb white "white" 50} + ${cb blue "blue" 50} + ${cb cyan "cyan" 50} + ${cb green "green" 50} + ${cb magenta "magenta" 50} + ${cb red "red" 50} + ${cb yellow "yellow" 50}