New Default theme: Omega theme! (Beta)

This commit is contained in:
Quentin Guidée
2019-11-29 19:42:39 +01:00
parent af2e8209ef
commit c68a0cdb33
102 changed files with 348 additions and 196 deletions

View File

@@ -4,7 +4,7 @@
ExpressionTableCellWithExpression::ExpressionTableCellWithExpression() :
ExpressionTableCell(Layout::Horizontal),
m_accessoryExpressionView(1.0f, 0.5f, Palette::GreyDark, Palette::BackgroundHard)
m_accessoryExpressionView(1.0f, 0.5f, Palette::SecondaryText, Palette::ListCellBackground)
{}
View * ExpressionTableCellWithExpression::accessoryView() const {
@@ -13,7 +13,7 @@ View * ExpressionTableCellWithExpression::accessoryView() const {
void ExpressionTableCellWithExpression::setHighlighted(bool highlight) {
ExpressionTableCell::setHighlighted(highlight);
KDColor backgroundColor = highlight? Palette::Select : Palette::BackgroundHard;
KDColor backgroundColor = highlight? Palette::ListCellBackgroundSelected : Palette::ListCellBackground;
m_accessoryExpressionView.setBackgroundColor(backgroundColor);
}