style: Set accent color for the whole details page
Making focus rings monochrome as well
This commit is contained in:
@@ -19,9 +19,12 @@
|
|||||||
0 1px rgb(from currentcolor r g b / 30%) inset;
|
0 1px rgb(from currentcolor r g b / 30%) inset;
|
||||||
}
|
}
|
||||||
|
|
||||||
#details-play-button {
|
#details {
|
||||||
--accent-fg-color: var(--view-bg-color);
|
--accent-fg-color: var(--view-bg-color);
|
||||||
--accent-bg-color: var(--view-fg-color);
|
--accent-bg-color: var(--view-fg-color);
|
||||||
|
--accent-color: oklab(
|
||||||
|
from var(--accent-bg-color) var(--standalone-color-oklab)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#background {
|
#background {
|
||||||
|
|||||||
@@ -191,8 +191,9 @@ template $Window: Adw.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Adw.NavigationPage {
|
Adw.NavigationPage {
|
||||||
title: bind template.active-game as <$Game>.name;
|
name: "details";
|
||||||
tag: "details";
|
tag: "details";
|
||||||
|
title: bind template.active-game as <$Game>.name;
|
||||||
|
|
||||||
child: Overlay {
|
child: Overlay {
|
||||||
child: Picture {
|
child: Picture {
|
||||||
@@ -280,7 +281,6 @@ template $Window: Adw.ApplicationWindow {
|
|||||||
margin-top: 15;
|
margin-top: 15;
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
name: "details-play-button";
|
|
||||||
action-name: "game.play";
|
action-name: "game.play";
|
||||||
label: _("Play");
|
label: _("Play");
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user