colorscheme.colors -> colorscheme.palette

This commit is contained in:
Rouven Seifert 2024-02-11 20:12:25 +01:00
parent d9b59f63c8
commit 7cda66afc2
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 42 additions and 42 deletions

View file

@ -16,7 +16,7 @@
]; ];
}; };
console = { console = {
colors = let colors = config.home-manager.users.rouven.colorScheme.colors; in colors = let colors = config.home-manager.users.rouven.colorScheme.palette; in
[ [
colors.base00 colors.base00
colors.base08 colors.base08

View file

@ -53,7 +53,7 @@
}; };
colors = colors =
let let
colors = config.colorScheme.colors; colors = config.colorScheme.palette;
in in
{ {
# alpha = if (config.colorScheme.kind == "dark") then 0.0 else 1.0; # alpha = if (config.colorScheme.kind == "dark") then 0.0 else 1.0;

View file

@ -79,12 +79,12 @@
terminal=${pkgs.foot}/bin/foot terminal=${pkgs.foot}/bin/foot
[colors] [colors]
background=${config.colorScheme.colors.base00}ff background=${config.colorScheme.palette.base00}ff
text=${config.colorScheme.colors.base05}ff text=${config.colorScheme.palette.base05}ff
match=${config.colorScheme.colors.base08}ff match=${config.colorScheme.palette.base08}ff
selection=${config.colorScheme.colors.base02}ff selection=${config.colorScheme.palette.base02}ff
selection-text=${config.colorScheme.colors.base04}ff selection-text=${config.colorScheme.palette.base04}ff
border=${config.colorScheme.colors.base01}ff border=${config.colorScheme.palette.base01}ff
''; '';
"swappy/config".text = '' "swappy/config".text = ''
[Default] [Default]
@ -95,10 +95,10 @@
indicator-radius=200 indicator-radius=200
indicator-thickness=3 indicator-thickness=3
inside-color=00000000 inside-color=00000000
inside-ver-color=${config.colorScheme.colors.base0D} inside-ver-color=${config.colorScheme.palette.base0D}
inside-clear-color=${config.colorScheme.colors.base0B} inside-clear-color=${config.colorScheme.palette.base0B}
ring-color=${config.colorScheme.colors.base03} ring-color=${config.colorScheme.palette.base03}
ring-wrong-color=${config.colorScheme.colors.base08} ring-wrong-color=${config.colorScheme.palette.base08}
screenshot screenshot
effect-blur=7x5 effect-blur=7x5
''; '';
@ -110,8 +110,8 @@
background-color: rgba(12, 12, 12, 0); background-color: rgba(12, 12, 12, 0);
} }
button { button {
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
background-color: #${config.colorScheme.colors.base00}; background-color: #${config.colorScheme.palette.base00};
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
border-radius: 30px; border-radius: 30px;
@ -122,7 +122,7 @@
} }
button:active, button:hover { button:active, button:hover {
background-color: #${config.colorScheme.colors.base03}; background-color: #${config.colorScheme.palette.base03};
outline-style: none; outline-style: none;
} }

View file

@ -107,7 +107,7 @@
window#waybar { window#waybar {
background-color: transparent; background-color: transparent;
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
} }
@ -120,17 +120,17 @@
#tags button { #tags button {
padding: 0 5px; padding: 0 5px;
background-color: transparent; background-color: transparent;
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
} }
#workspaces button.focused, #workspaces button.focused,
#tags button.focused { #tags button.focused {
background-color: #${config.colorScheme.colors.base04}; background-color: #${config.colorScheme.palette.base04};
box-shadow: inset 0 -3px #${config.colorScheme.colors.base05}; box-shadow: inset 0 -3px #${config.colorScheme.palette.base05};
} }
#tags button.occupied { #tags button.occupied {
box-shadow: inset 0 -3px #${config.colorScheme.colors.base05}; box-shadow: inset 0 -3px #${config.colorScheme.palette.base05};
} }
#workspaces button.urgent, #workspaces button.urgent,
@ -151,7 +151,7 @@
#tray{ #tray{
border-radius: 30px; border-radius: 30px;
padding: 0 10px; padding: 0 10px;
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
} }
#window, #window,
@ -160,12 +160,12 @@
} }
#window { #window {
background-color: #${config.colorScheme.colors.base00}; background-color: #${config.colorScheme.palette.base00};
} }
#clock { #clock {
background-color: #${config.colorScheme.colors.base00}; background-color: #${config.colorScheme.palette.base00};
} }
#custom-spotifytitle { #custom-spotifytitle {
@ -182,53 +182,53 @@
} }
#battery { #battery {
background-color: #${config.colorScheme.colors.base02}; background-color: #${config.colorScheme.palette.base02};
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
} }
#battery.charging, #battery.plugged { #battery.charging, #battery.plugged {
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
background-color: #${config.colorScheme.colors.base02}; background-color: #${config.colorScheme.palette.base02};
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #${config.colorScheme.colors.base08}; background-color: #${config.colorScheme.palette.base08};
color: #${config.colorScheme.colors.base01}; color: #${config.colorScheme.palette.base01};
} }
#cpu { #cpu {
background-color: #${config.colorScheme.colors.base05}; background-color: #${config.colorScheme.palette.base05};
color: #${config.colorScheme.colors.base01}; color: #${config.colorScheme.palette.base01};
} }
#network { #network {
background-color: #${config.colorScheme.colors.base06}; background-color: #${config.colorScheme.palette.base06};
color: #${config.colorScheme.colors.base01}; color: #${config.colorScheme.palette.base01};
} }
#network.disconnected { #network.disconnected {
background-color: #${config.colorScheme.colors.base08}; background-color: #${config.colorScheme.palette.base08};
} }
#pulseaudio { #pulseaudio {
background-color: #${config.colorScheme.colors.base03}; background-color: #${config.colorScheme.palette.base03};
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
} }
#temperature { #temperature {
background-color: #${config.colorScheme.colors.base05}; background-color: #${config.colorScheme.palette.base05};
color: #${config.colorScheme.colors.base01}; color: #${config.colorScheme.palette.base01};
} }
#temperature.critical { #temperature.critical {
background-color: #${config.colorScheme.colors.base08}; background-color: #${config.colorScheme.palette.base08};
color: #${config.colorScheme.colors.base01}; color: #${config.colorScheme.palette.base01};
} }
#custom-notification, #custom-notification,
#tray { #tray {
background-color: #${config.colorScheme.colors.base01}; background-color: #${config.colorScheme.palette.base01};
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.palette.base05};
} }
''; '';