Skip to content

Commit

Permalink
Fix welcome screen flat titlebar text/buttons color (tkashkin#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkashkin committed Jan 23, 2019
1 parent 3c67adf commit c975c2a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions data/css/themes/elementary.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,26 @@
@define-color theme_selected_bg_color @colorAccent;
@define-color textColorPrimary mix(@colorPrimary, #fafafa, 0.95);
@define-color textColorPrimaryShadow alpha(#7239b3, 0.4);

@define-color textColorPrimaryDefault mix(@titlebar_color, @text_color, 0.75);
@define-color textColorPrimaryShadowDefault alpha(shade(@titlebar_color, 1.4), 0.4);

.titlebar.flat .title,
.titlebar.flat .subtitle,
.titlebar.flat .titlebutton,
.titlebar.flat *:not(entry) image
{
color: @textColorPrimaryDefault;
text-shadow: 0 1px @textColorPrimaryShadowDefault;
-gtk-icon-shadow: 0 1px @textColorPrimaryShadowDefault;
}

.titlebar.flat .title:backdrop,
.titlebar.flat .subtitle:backdrop,
.titlebar.flat .titlebutton:backdrop,
.titlebar.flat *:not(entry) image:backdrop
{
color: mix(@textColorPrimaryDefault, @titlebar_color, 0.3);
text-shadow: none;
-gtk-icon-shadow: none;
}

0 comments on commit c975c2a

Please sign in to comment.