treewide: adjust notification colors to represent urgency (#1253)

Closes: https://github.com/nix-community/stylix/issues/1247
Link: https://github.com/nix-community/stylix/pull/1253

Reviewed-by: Mateus Auler <mateus@auler.dev>
Approved-by: https://github.com/TheMaxMur
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
Karun Sandhu 2025-06-25 22:41:21 +02:00 committed by GitHub
parent 37b8c5f680
commit a6eff346d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 15 deletions

View file

@ -86,10 +86,10 @@ over other applications. Examples include the mako notification daemon and
avizo.
- Window border: base0D
- Low urgency background color: base06
- Low urgency text color: base0A
- High urgency background color: base0F
- High urgency text color: base08
- Background color: base00
- Text color: base05
- High urgency border color: base08
- Low urgency border color: base03
- Incomplete part of progress bar: base01
- Complete part of progress bar: base02

View file

@ -29,13 +29,13 @@ mkTarget {
urgency_low = {
background = base01 + dunstOpacity;
foreground = base05;
frame_color = base0B;
frame_color = base03;
};
urgency_normal = {
background = base01 + dunstOpacity;
foreground = base05;
frame_color = base0E;
frame_color = base0D;
};
urgency_critical = {

View file

@ -42,8 +42,8 @@ mkTarget {
background = bg base00;
};
low.border-color = fg base0B;
normal.border-color = fg base0E;
low.border-color = fg base03;
normal.border-color = fg base0D;
critical.border-color = fg base08;
};
}

View file

@ -28,13 +28,13 @@ mkTarget {
"urgency=low" = {
background-color = "${base00}${makoOpacity}";
border-color = base0D;
text-color = base0A;
border-color = base03;
text-color = base05;
};
"urgency=high" = {
background-color = "${base00}${makoOpacity}";
border-color = base0D;
text-color = base08;
border-color = base08;
text-color = base05;
};
};
};

View file

@ -8,12 +8,18 @@ trough {
background: @base01;
}
.notification.low,
.notification.low {
border: 1px solid @base03;
}
.notification.low progress {
background: @base03;
}
.notification.normal {
border: 1px solid @base0D;
}
.notification.low progress,
.notification.normal progress {
background: @base0F;
}
@ -41,7 +47,6 @@ trough {
.notification-action {
color: @base05;
background: @base01;
border: 1px solid @base0D;
}
.notification-action:hover {