Tweak some of the colors in the CSS rules for nheko.
Add room list hover title/subtitle color change support.
This commit is contained in:
parent
6a90ed574e
commit
ae91bab07d
3 changed files with 26 additions and 8 deletions
|
|
@ -158,8 +158,12 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
|
|||
subtitlePen.setColor(highlightedSubtitleColor_);
|
||||
} else if (underMouse()) {
|
||||
p.fillRect(rect(), hoverBackgroundColor_);
|
||||
titlePen.setColor(hoverTitleColor_);
|
||||
subtitlePen.setColor(hoverSubtitleColor_);
|
||||
} else {
|
||||
p.fillRect(rect(), backgroundColor_);
|
||||
titlePen.setColor(titleColor_);
|
||||
subtitlePen.setColor(subtitleColor_);
|
||||
}
|
||||
|
||||
QRect avatarRegion(wm.padding, wm.padding, wm.iconSize, wm.iconSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue