mirror of
https://gitlab.freedesktop.org/pipewire/helvum
synced 2026-03-15 11:36:11 +08:00
This removes the manual painting of the background via cairo and adds the correct color to CSS instead, which should hopefully improve performance as we do less cpu painting like this.
23 lines
350 B
CSS
23 lines
350 B
CSS
@define-color audio rgb(50,100,240);
|
|
@define-color video rgb(200,200,0);
|
|
@define-color midi rgb(200,0,50);
|
|
@define-color graphview-link #808080;
|
|
|
|
.audio {
|
|
background: @audio;
|
|
color: black;
|
|
}
|
|
|
|
.video {
|
|
background: @video;
|
|
color: black;
|
|
}
|
|
|
|
.midi {
|
|
background: @midi;
|
|
color: black;
|
|
}
|
|
|
|
graphview {
|
|
background: @text_view_bg;
|
|
} |