Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Commit

Permalink
adjusted fonts to blend in better with their custom color backgrounds…
Browse files Browse the repository at this point in the history
… on inactive
  • Loading branch information
n4n0GH committed Nov 8, 2019
1 parent 21397b9 commit 0b239b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kdecoration/breezewaydecoration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ namespace Breezeway
{
if ( m_internalSettings->matchTitleBarColor() ){
return KColorUtils::mix(
y > 128 ? newFont.lighter(140) : newFont.lighter(45),
y > 128 ? newFont.lighter(140) : color.lighter(140),
newFont,
m_opacity );
} else {
Expand All @@ -289,7 +289,7 @@ namespace Breezeway
}
} else {
if ( m_internalSettings->matchTitleBarColor() ){
return c->isActive() ? newFont : y > 128 ? newFont.lighter(140) : newFont.lighter(45);
return c->isActive() ? newFont : y > 128 ? newFont.lighter(140) : color.lighter(140);
} else {
return c->color( c->isActive() ? ColorGroup::Active : ColorGroup::Inactive, ColorRole::Foreground );

Expand Down

0 comments on commit 0b239b1

Please sign in to comment.