New dark theme & KDColorWhite -> Palette::BackgroundHard

This commit is contained in:
Quentin Guidée
2019-11-26 23:04:03 +01:00
parent db269f1204
commit 3b592c847e
77 changed files with 108 additions and 107 deletions

View File

@@ -25,8 +25,8 @@ void FunctionTitleCell::setBaseline(KDCoordinate baseline) {
void FunctionTitleCell::drawRect(KDContext * ctx, KDRect rect) const {
if (m_orientation == Orientation::VerticalIndicator){
KDColor separatorColor = m_even ? Palette::WallScreen : KDColorWhite;
KDColor backgroundColor = m_even ? KDColorWhite : Palette::WallScreen;
KDColor separatorColor = m_even ? Palette::WallScreen : Palette::BackgroundHard;
KDColor backgroundColor = m_even ? Palette::BackgroundHard : Palette::WallScreen;
// Draw the color indicator
ctx->fillRect(KDRect(0, 0, k_colorIndicatorThickness, bounds().height()), m_functionColor);
// Draw the horizontal separator