mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Use simple colors for program designs
This commit is contained in:
parent
a70b7b5453
commit
e2c6e85097
5 changed files with 123 additions and 57 deletions
|
|
@ -74,8 +74,12 @@ mod imp {
|
|||
}
|
||||
|
||||
fn set_program(&self, program: &Program) {
|
||||
self.obj()
|
||||
.set_css_classes(&["program-tile", &program.design().css_class()]);
|
||||
self.obj().set_css_classes(&[
|
||||
"program-tile",
|
||||
"card",
|
||||
"activatable",
|
||||
&program.design().css_class(),
|
||||
]);
|
||||
|
||||
if let Some(title) = program.title() {
|
||||
self.title_label.set_label(&title);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue