Commit f605f610 authored by Abhinav Singh's avatar Abhinav Singh Committed by Adrien Plazas
Browse files

ui: Use theme relative colors for styling

This allows Games to follow global themes. Furthermore, we will be able
to support light themes and not be forced to set
'gtk-application-prefer-dark-theme' to 1.

https://bugzilla.gnome.org/show_bug.cgi?id=779128
parent 23da7290
/* This file is part of GNOME Games. License: GPL-3.0+. */
@define-color games_collection_bg_color #292929;
@define-color games_thumbnail_color #bebebe;
@define-color games_thumbnail_border_color #3b3c38;
@define-color games_thumbnail_bg_color #2d2d2d;
gamescollectioniconview .frame {
background-color: @games_collection_bg_color;
background-color: @theme_base_color;
}
gamesgamethumbnail {
background-color: @games_thumbnail_bg_color;
background-color: mix (@theme_base_color, @theme_bg_color, 0.5);
border-width: 1px;
border-style: solid;
border-radius: 2px;
border-color: @games_thumbnail_border_color;
color: @games_thumbnail_color;
border-color: @theme_bg_color;
color: @theme_fg_color;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment