1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-01 01:51:58 +02:00

A bunch of styling to the Arist Page. WIP.

This commit is contained in:
Jason Herskowitz
2013-06-13 19:11:27 -04:00
parent e441577776
commit 2dbd92c50f
6 changed files with 56 additions and 27 deletions

View File

@@ -61,15 +61,15 @@ namespace TomahawkStyle
static const QColor SELECTION_BACKGROUND = QColor( "#962c26" );
static const QColor SELECTION_FOREGROUND = QColor( "#ffffff" );
static const QColor HEADER_UPPER = QColor( "#25292c" );
static const QColor HEADER_LOWER = QColor( "#1e1e1e" );
static const QColor HEADER_TEXT = QColor( "#eaeaea" );
static const QColor HEADER_UPPER = QColor( "#292f34" );
static const QColor HEADER_LOWER = QColor( "#292f34" );
static const QColor HEADER_TEXT = QColor( "#ffffff" );
static const QColor HEADER_HIGHLIGHT = QColor( "#333" );
static const QColor PAGE_TEXT = Qt::gray;
static const QColor PAGE_TEXT = QColor( "#ABCCE8" );
static const QColor PAGE_ITEM_BACKGROUND = QColor( "#1e1e1e" ).lighter( 290 );
static const QColor PAGE_FOREGROUND = QColor( "#ffffff" );
static const QColor PAGE_BACKGROUND = QColor( "#1e1e1e" ).lighter();
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" );

View File

@@ -98,7 +98,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
QPalette trackViewPal = ui->topHits->palette();
trackViewPal.setColor( QPalette::Foreground, TomahawkStyle::PAGE_FOREGROUND );
trackViewPal.setColor( QPalette::Text, TomahawkStyle::PAGE_FOREGROUND );
trackViewPal.setColor( QPalette::Highlight, QColor( "#252020" ) );
trackViewPal.setColor( QPalette::Highlight, QColor( "#292f34" ) );
trackViewPal.setColor( QPalette::HighlightedText, Qt::white );
ui->topHits->setPalette( trackViewPal );
ui->topHits->setAlternatingRowColors( false );
@@ -121,7 +121,8 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
ui->cover->setShowText( false );
QFont f = font();
f.setPointSize( f.pointSize() + 3 );
f.setPointSize( f.pointSize() + 1 );
f.setFamily( "Fauna One" );
ui->biography->setOpenLinks( false );
ui->biography->setOpenExternalLinks( true );
ui->biography->setFrameShape( QFrame::NoFrame );
@@ -140,8 +141,8 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
ui->label_3->setPalette( p );
QFont font = ui->label->font();
font.setBold( true );
font.setFamily( "Titillium Web" );
font.setBold( false );
font.setFamily( "Fauna One" );
ui->label->setFont( font );
ui->label_2->setFont( font );
ui->label_3->setFont( font );