mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2026-05-07 13:28:04 +02:00
Move CSS to its own file
This commit is contained in:
parent
0cee4b0ea5
commit
6d60095da8
2 changed files with 15 additions and 17 deletions
|
|
@ -21,23 +21,7 @@ pub enum MediaType {
|
|||
Midi,
|
||||
}
|
||||
|
||||
// FIXME: This should be in its own .css file.
|
||||
static STYLE: &str = "
|
||||
.audio {
|
||||
background: rgb(50,100,240);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.video {
|
||||
background: rgb(200,200,0);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.midi {
|
||||
background: rgb(200,0,50);
|
||||
color: black;
|
||||
}
|
||||
";
|
||||
static STYLE: &str = include_str!("style.css");
|
||||
|
||||
mod imp {
|
||||
use super::*;
|
||||
|
|
|
|||
14
src/style.css
Normal file
14
src/style.css
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
.audio {
|
||||
background: rgb(50,100,240);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.video {
|
||||
background: rgb(200,200,0);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.midi {
|
||||
background: rgb(200,0,50);
|
||||
color: black;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue