mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Cleaned up TomahawkStyle.
This commit is contained in:
parent
7da87d238e
commit
5d0cd075c3
@ -42,8 +42,8 @@ TomahawkStyle::horizontalHeader( QPainter* painter, const QRect& r )
|
||||
painter->fillRect( lowerHalf, TomahawkStyle::headerLowerColor() );*/
|
||||
QLinearGradient gradient( QPoint( 0, 0 ), QPoint( 0, 1 ) );
|
||||
gradient.setCoordinateMode( QGradient::ObjectBoundingMode );
|
||||
gradient.setColorAt( 0.0, TomahawkStyle::HEADER_LOWER );
|
||||
gradient.setColorAt( 1.0, TomahawkStyle::HEADER_UPPER );
|
||||
gradient.setColorAt( 0.0, TomahawkStyle::HEADER_BACKGROUND );
|
||||
gradient.setColorAt( 1.0, TomahawkStyle::HEADER_BACKGROUND );
|
||||
|
||||
painter->setBrush( gradient );
|
||||
painter->fillRect( r, gradient );
|
||||
|
@ -61,15 +61,20 @@ namespace TomahawkStyle
|
||||
static const QColor SELECTION_BACKGROUND = QColor( "#962c26" );
|
||||
static const QColor SELECTION_FOREGROUND = QColor( "#ffffff" );
|
||||
|
||||
static const QColor HEADER_UPPER = QColor( "#292f34" );
|
||||
static const QColor HEADER_LOWER = QColor( "#292f34" );
|
||||
static const QColor HEADER_BACKGROUND = QColor( "#292f34" );
|
||||
static const QColor HEADER_TEXT = QColor( "#ffffff" );
|
||||
static const QColor HEADER_LINK = QColor( "#8dbf2d" );
|
||||
static const QColor HEADER_HIGHLIGHT = QColor( "#333" );
|
||||
|
||||
static const QColor TOGGLEBUTTON_BACKGROUND = QColor( "#292f34" );
|
||||
static const QColor TOGGLEBUTTON_TEXT = QColor( "#ffffff" );
|
||||
static const QColor TOGGLEBUTTON_HIGHLIGHT = QColor( "#333" );
|
||||
|
||||
static const QColor PAGE_CAPTION = QColor( "#292F34" );
|
||||
static const QColor PAGE_TEXT = QColor( "#ABCCE8" );
|
||||
static const QColor PAGE_ITEM_BACKGROUND = QColor( "#1e1e1e" ).lighter( 290 );
|
||||
static const QColor PAGE_FOREGROUND = QColor( "#292f34" );
|
||||
static const QColor PAGE_BACKGROUND = QColor( "#DBDBDB" );
|
||||
|
||||
static const QColor FOOTNOTES_BACKGROUND = QColor( "#272b2e" );
|
||||
static const QColor DASHBOARD_ROUNDFIGURE_BACKGROUND = QColor( "#454e59" );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user