Bold room names

remotes/origin/HEAD
Konstantinos Sideris 7 years ago
parent aaa4d8c323
commit ccbcfe9fa4
  1. 4
      resources/styles/nheko-dark.qss
  2. 2
      resources/styles/nheko.qss
  3. 3
      src/RoomInfoListItem.cc

@ -44,10 +44,10 @@ RoomInfoListItem {
qproperty-hoverBackgroundColor: #39679e;
qproperty-backgroundColor: #383c4a;
qproperty-titleColor: #caccd1;
qproperty-titleColor: #e4e5e8;
qproperty-subtitleColor: #caccd1;
qproperty-highlightedTitleColor: #e4e5e8;
qproperty-highlightedTitleColor: #f4f4f5;
qproperty-highlightedSubtitleColor: #e4e5e8;
qproperty-btnColor: #414A59;

@ -46,7 +46,7 @@ RoomInfoListItem {
qproperty-subtitleColor: #5d6565;
qproperty-highlightedTitleColor: white;
qproperty-highlightedSubtitleColor: white;
qproperty-highlightedSubtitleColor: #f4f4f5;
qproperty-btnColor: #ccc;
qproperty-btnTextColor: #333;

@ -148,6 +148,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
if (width() > ui::sidebar::SmallSize) {
font.setPixelSize(conf::roomlist::fonts::heading);
font.setWeight(68);
p.setFont(font);
p.setPen(titlePen);
@ -173,7 +174,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
auto userName =
metrics.elidedText(lastMsgInfo_.username, Qt::ElideRight, usernameLimit);
font.setBold(true);
font.setWeight(60);
p.setFont(font);
p.drawText(QPoint(2 * Padding + IconSize, bottom_y), userName);

Loading…
Cancel
Save