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

@@ -8,7 +8,7 @@ KDSize FunctionExpressionCell::minimalSizeForOptimalDisplay() const {
}
void FunctionExpressionCell::drawRect(KDContext * ctx, KDRect rect) const {
KDColor separatorColor = m_even ? Palette::WallScreen : KDColorWhite;
KDColor separatorColor = m_even ? Palette::WallScreen : Palette::BackgroundHard;
// Color the horizontal separator
ctx->fillRect(KDRect(0, bounds().height()-k_separatorThickness, bounds().width(), k_separatorThickness), separatorColor);
// Color the left margin