summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-21 13:41:05 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-21 13:41:05 +0200
commitccbcfe9fa4df9e3c91a3489ae0937fbf96bc76e9 (patch)
treee768286fb0a1af19b12a6ea761bd3d4a2449729b
parentPrevent emoji selector for closing (diff)
downloadnheko-ccbcfe9fa4df9e3c91a3489ae0937fbf96bc76e9.tar.xz
Bold room names
-rw-r--r--resources/styles/nheko-dark.qss4
-rw-r--r--resources/styles/nheko.qss2
-rw-r--r--src/RoomInfoListItem.cc3
3 files changed, 5 insertions, 4 deletions
diff --git a/resources/styles/nheko-dark.qss b/resources/styles/nheko-dark.qss
index a730a6e0..970a1d03 100644
--- a/resources/styles/nheko-dark.qss
+++ b/resources/styles/nheko-dark.qss
@@ -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;
diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss
index 3e740e2a..6bdb6aa6 100644
--- a/resources/styles/nheko.qss
+++ b/resources/styles/nheko.qss
@@ -46,7 +46,7 @@ RoomInfoListItem {
     qproperty-subtitleColor: #5d6565;
 
     qproperty-highlightedTitleColor: white;
-    qproperty-highlightedSubtitleColor: white;
+    qproperty-highlightedSubtitleColor: #f4f4f5;
 
     qproperty-btnColor: #ccc;
     qproperty-btnTextColor: #333;
diff --git a/src/RoomInfoListItem.cc b/src/RoomInfoListItem.cc
index fa567243..41e9ea86 100644
--- a/src/RoomInfoListItem.cc
+++ b/src/RoomInfoListItem.cc
@@ -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);