mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2026-05-05 06:38:01 +02:00
node: Remove transparency in dark mode, improve contrast to graphview in light mode
This commit is contained in:
parent
2343ef824e
commit
89f417f260
2 changed files with 6 additions and 2 deletions
|
|
@ -35,8 +35,10 @@
|
|||
color: black;
|
||||
}
|
||||
|
||||
graphview {
|
||||
background-color: @view_bg_color;
|
||||
node {
|
||||
/* Compared to the default card color, this is not transparent in dark-mode
|
||||
and provides a better contrast to the background in light mode */
|
||||
background-color: @headerbar_bg_color;
|
||||
}
|
||||
|
||||
node label.heading {
|
||||
|
|
|
|||
|
|
@ -128,6 +128,8 @@ mod imp {
|
|||
fn constructed(&self) {
|
||||
self.parent_constructed();
|
||||
|
||||
self.obj().add_css_class("view");
|
||||
|
||||
self.obj().set_overflow(gtk::Overflow::Hidden);
|
||||
|
||||
self.setup_node_dragging();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue