add: walker theme

This commit is contained in:
kenji
2025-12-27 12:12:49 -06:00
parent 3aad507ba8
commit 4d9d68e7e6
3 changed files with 104 additions and 91 deletions
+5
View File
@@ -20,3 +20,8 @@ post_hook = "killall -SIGUSR2 .waybar-wrapped"
input_path = "~/.config/matugen/templates/starship" input_path = "~/.config/matugen/templates/starship"
output_path = "~/.config/starship.toml" output_path = "~/.config/starship.toml"
[templates.walker]
input_path = "~/.config/matugen/templates/walker"
output_path = "~/.config/walker/themes/nixos/matugen.css"
View File
+18 -10
View File
@@ -1,9 +1,7 @@
{config, ...}: let {config, ...}: {
# Access Stylix colors (Base16)
colors = config.lib.stylix.colors.withHashtag;
in {
programs.walker = { programs.walker = {
theme.style = '' theme.style = ''
@import "matugen.css";
* { * {
all: unset; all: unset;
} }
@@ -11,7 +9,8 @@ in {
* { * {
font-family: monospace; font-family: monospace;
font-size: 18px; font-size: 18px;
color: ${colors.base05}; /* Fixed: Text color must be visible on the background */
color: @on_surface;
} }
scrollbar { scrollbar {
@@ -27,9 +26,11 @@ in {
} }
.box-wrapper { .box-wrapper {
background: alpha(${colors.base00}, 0.95); /* base00 -> surface */
background: alpha(@surface, 0.95);
padding: 20px; padding: 20px;
border: 2px solid ${colors.base0E}; /* base0E -> secondary (often pink/purple in Firewatch themes) */
border: 2px solid @secondary;
} }
.preview-box { .preview-box {
@@ -39,7 +40,8 @@ in {
} }
.search-container { .search-container {
background: ${colors.base00}; /* base00 -> surface */
background: @surface;
padding: 10px; padding: 10px;
} }
@@ -73,13 +75,18 @@ in {
} }
child:hover .item-box { child:hover .item-box {
/* Added hover effect for better usability */
background: @surface_bright;
} }
child:selected .item-box { child:selected .item-box {
/* Selected background */
background: @surface_container_high;
} }
child:selected .item-box * { child:selected .item-box * {
color: ${colors.base0D}; /* base0D -> primary */
color: @primary;
} }
.item-box { .item-box {
@@ -111,7 +118,8 @@ in {
} }
.keybind-hints { .keybind-hints {
background: ${colors.base01}; /* base01 -> surface_container */
background: @surface_container;
padding: 10px; padding: 10px;
margin-top: 10px; margin-top: 10px;
} }