refactor: centralize theme

This commit is contained in:
Nickolaj Jepsen 2026-01-21 00:07:34 +01:00
parent 89cefcd610
commit 234ab50a2c
10 changed files with 253 additions and 180 deletions

View file

@ -5,6 +5,7 @@
inputs,
...
}: let
c = config.fireproof.theme.colors;
hasMonitors = config.monitors != [];
primaryMonitorName =
if hasMonitors
@ -41,12 +42,12 @@ in {
layout = {
gaps = 10;
focus-ring.enable = false;
insert-hint.display.color = "#CF6A4C";
insert-hint.display.color = "#${c.accent}";
border = {
enable = true;
width = 2;
active.color = "#CF6A4C";
inactive.color = "#343331";
active.color = "#${c.accent}";
inactive.color = "#${c.ui}";
};
tab-indicator = {
hide-when-single-tab = true;