home: swap to hozen color system

This commit is contained in:
ooks-io 2024-11-17 21:57:53 +11:00
parent df751735d3
commit 10c1ed7ecb
3 changed files with 30 additions and 26 deletions

View file

@ -2,11 +2,13 @@
lib, lib,
osConfig, osConfig,
inputs', inputs',
hozen,
... ...
}: let }: let
inherit (osConfig.ooknet.appearance) colorscheme fonts; inherit (osConfig.ooknet.appearance) colorscheme fonts;
inherit (colorscheme) palette; inherit (colorscheme) palette;
inherit (osConfig.ooknet.workstation) environment; inherit (osConfig.ooknet.workstation) environment;
inherit (hozen) color;
inherit (lib) mkIf; inherit (lib) mkIf;
in { in {
config = mkIf (environment == "hyprland") { config = mkIf (environment == "hyprland") {
@ -29,7 +31,7 @@ in {
background = { background = {
monitor = ""; monitor = "";
path = ""; path = "";
color = "0xff${palette.base01}"; color = "0xff${color.layout.body}";
}; };
input-field = { input-field = {
@ -42,18 +44,18 @@ in {
rounding = 0; rounding = 0;
fade_on_empty = false; fade_on_empty = false;
placeholder_text = ""; placeholder_text = "";
outer_color = "0xff${palette.base03}"; outer_color = "0xff${color.secondary.base}";
inner_color = "0xff${palette.base00}"; inner_color = "0xff${color.layout.menu}";
font_color = "0xff${palette.base05}"; font_color = "0xff${color.typography.text}";
}; };
label = { label = {
monitor = ""; monitor = "";
text = " LOCKED"; text = " \ ";
position = "0, 150"; position = "0, 150";
valign = "center"; valign = "center";
halign = "center"; halign = "center";
color = "0xff${palette.base08}"; color = "0xff${color.red.base}";
font_size = 30; font_size = 30;
font_family = "${fonts.monospace.family}"; font_family = "${fonts.monospace.family}";
}; };

View file

@ -2,13 +2,14 @@
lib, lib,
config, config,
osConfig, osConfig,
hozen,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkIf; inherit (lib) mkIf;
inherit (osConfig.ooknet.appearance) colorscheme fonts; inherit (osConfig.ooknet.appearance) fonts;
inherit (colorscheme) palette;
inherit (osConfig.ooknet.workstation) environment; inherit (osConfig.ooknet.workstation) environment;
inherit (hozen) color;
inherit (config.lib.formats.rasi) mkLiteral; inherit (config.lib.formats.rasi) mkLiteral;
in { in {
config = mkIf (environment == "hyprland") { config = mkIf (environment == "hyprland") {
@ -19,10 +20,10 @@ in {
terminal = "${config.home.sessionVariables.TERMINAL}"; terminal = "${config.home.sessionVariables.TERMINAL}";
theme = { theme = {
"*" = { "*" = {
background = mkLiteral "#${palette.base00}"; background = mkLiteral "#${color.layout.menu}";
foreground = mkLiteral "#${palette.base05}"; foreground = mkLiteral "#${color.typography.text}";
selected = mkLiteral "#${palette.base0B}"; selected = mkLiteral "#${color.primary.base}";
message = mkLiteral "#${palette.base0D}"; message = mkLiteral "#${color.blue.base}";
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
border-color = mkLiteral "@foreground"; border-color = mkLiteral "@foreground";

View file

@ -3,10 +3,11 @@
lib, lib,
pkgs, pkgs,
osConfig, osConfig,
hozen,
... ...
}: let }: let
inherit (osConfig.ooknet.appearance) colorscheme fonts; inherit (osConfig.ooknet.appearance) fonts;
inherit (colorscheme) palette; inherit (hozen) color;
inherit (osConfig.ooknet.hardware) monitors; inherit (osConfig.ooknet.hardware) monitors;
inherit (osConfig.ooknet.workstation) environment; inherit (osConfig.ooknet.workstation) environment;
inherit (lib) mkIf head; inherit (lib) mkIf head;
@ -90,7 +91,7 @@ in {
* { * {
font-family: "${fonts.monospace.family}"; font-family: "${fonts.monospace.family}";
font-size: 19px; font-size: 19px;
border: solid #${palette.base05}; border: solid #${color.border.base};
} }
window#waybar { window#waybar {
@ -101,32 +102,32 @@ in {
#clock, #clock,
#battery, #battery,
#workspaces { #workspaces {
background-color: #${palette.base00}; background-color: #${color.layout.header};
padding-right: 10px; padding-right: 10px;
} }
#clock { #clock {
padding-left: 10px; padding-left: 10px;
border: 2px solid #${palette.base05}; border: 2px solid #${color.border.base};
border-right: 0px; border-right: 0px;
border-top-left-radius: 10px; border-top-left-radius: 10px;
} }
#battery { #battery {
padding-left: 10px; padding-left: 10px;
border-top: 2px solid #${palette.base05}; border-top: 2px solid #${color.border.base};
border-bottom: 2px solid #${palette.base05}; border-bottom: 2px solid #${color.border.base};
border-left: 0px; border-left: 0px;
} }
#battery.good { #battery.good {
color: #${palette.base0B}; color: #${color.success.base};
} }
#battery.warning { #battery.warning {
color: #${palette.base0A}; color: #${color.warning.base};
} }
#battery.critical { #battery.critical {
color: #${palette.base08}; color: #${color.error.base};
} }
#tray { #tray {
@ -137,7 +138,7 @@ in {
} }
#workspaces { #workspaces {
border: 2px solid #${palette.base05}; border: 2px solid #${color.border.base};
border-left: 0; border-left: 0;
border-top-right-radius: 10px; border-top-right-radius: 10px;
} }
@ -145,15 +146,15 @@ in {
#workspace button, #workspace button,
#workspaces button.active, #workspaces button.active,
#workspaces button.visible { #workspaces button.visible {
color: #${palette.base0B}; color: #${color.primary.base};
} }
#workspaces button.urgent { #workspaces button.urgent {
color: #${palette.base08}; color: #${color.orange.base};
} }
#custom-hyprrecord { #custom-hyprrecord {
color: #${palette.base08}; color: #${color.red.base};
padding-right: 20px; padding-right: 20px;
} }
''; '';