ndavis added a comment.

  Actually, not sure if this code works how I think it works. 0.2 should 
actually be less dark than 0.3 if I understand it correctly.
  
  This is the code in the Breeze QStyle:
  
    const auto grooveColor( _helper->alphaColor( palette.color( 
QPalette::WindowText ), 0.3 ) );
  
  Here's how `alphaColor()` works:
  
    QColor Helper::alphaColor( QColor color, qreal alpha ) const
    {
        if( alpha >= 0 && alpha < 1.0 )
        { color.setAlphaF( alpha*color.alphaF() ); }
        return color;
    }

REPOSITORY
  R98 Breeze for Gtk

REVISION DETAIL
  https://phabricator.kde.org/D24125

To: cblack, #breeze, ngraham
Cc: ndavis, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart

Reply via email to