mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
set option to select higlighted text color
keep it independent from background color, should make it easier to add a color section option to branding
This commit is contained in:
parent
8a623cc118
commit
c84a98c23c
2 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,7 @@ ProgressTreeDelegate::paintViewStep( QPainter* painter,
|
|||
|
||||
if ( isCurrent )
|
||||
{
|
||||
painter->setPen( CalamaresStyle::SIDEBAR_BACKGROUND );
|
||||
painter->setPen( CalamaresStyle::SIDEBAR_TEXT_SELECT );
|
||||
painter->setBrush( APP->mainWindow()->palette().background() );
|
||||
}
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ namespace CalamaresStyle {
|
|||
|
||||
static const QColor SIDEBAR_BACKGROUND = "#292F34";
|
||||
static const QColor SIDEBAR_TEXT = "#FFFFFF";
|
||||
static const QColor SIDEBAR_TEXT_SELECT = "#292F34";
|
||||
|
||||
} // namespace CalamaresStyle
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue