ironbar: Don't hardcode colors

This commit is contained in:
Donovan Glover 2023-07-05 00:36:38 -04:00
parent ee7b7e2cac
commit 6391d885a3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,3 +1,5 @@
{ config, ... }:
{
xdg.configFile."ironbar/config.json".text = /* json */ ''
{
@ -39,12 +41,12 @@
}
'';
xdg.configFile."ironbar/style.css".text = /* css */ ''
@define-color color_bg #272822;
@define-color color_bg_dark #383838;
@define-color color_border #383838;
@define-color color_border_active #fd971f;
@define-color color_text #ffffff;
xdg.configFile."ironbar/style.css".text = with config.lib.stylix.colors; /* css */ ''
@define-color color_bg #${base00};
@define-color color_bg_dark #${base01};
@define-color color_border #${base01};
@define-color color_border_active #${base09};
@define-color color_text #${base05};
@define-color color_urgent #8f0a0a;
* {