Custom CSS for play button
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
@define-color accent_color @purple_1;
|
||||
@define-color accent_bg_color @purple_4;
|
||||
|
||||
#overview_launch {
|
||||
color: @dark_5;
|
||||
background-color: @light_1;
|
||||
}
|
||||
@@ -1,2 +1,8 @@
|
||||
@define-color accent_color @purple_5;
|
||||
@define-color accent_bg_color @purple_3;
|
||||
|
||||
#overview_launch {
|
||||
color: @light_1;
|
||||
background-color: @dark_5;
|
||||
opacity: 0.8;
|
||||
}
|
||||
@@ -146,13 +146,13 @@ template CartridgesWindow : Adw.ApplicationWindow {
|
||||
valign: center;
|
||||
|
||||
Button overview_launch {
|
||||
name: "overview_launch";
|
||||
action-name: "app.launch_game";
|
||||
label: _("Play");
|
||||
halign: start;
|
||||
margin-top: 24;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
"pill",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user