Commit Graph

32 Commits

Author SHA1 Message Date
redsky17 4185b8d121 Add unread notification color for user mentioned
When user is mentioned (via matrix 'highlight_count'), inactive
rooms will use a different color for the notification circle than
when only general unread messages exist.
2019-01-25 02:47:15 +00:00
redsky17 50e382f554 Modified the code that generates user's colors so that it will
work regardless of the theme choices the user makes.  The code
now incorporates the contrast between the background color and the
color generated by the user_name when picking colors.  It currently
has two 'big' issues:
1. Colors are not cached.  I am planning on adding a QHash for this
a little later.  This should improve performance by not calculating
the color for the same users over and over and over again.
2. Theme changes do not trigger the colors to get refreshed.
Currently, you will have to switch to a different room and back
to get the colors to refresh.
2019-01-18 17:17:25 +00:00
redsky17 3fceaeb203 Add hover color for timestamp.
Update dark and system themes to provide
colors for the hover states for title, subtitle, and timestamp.
2019-01-12 22:03:25 +00:00
Konstantinos Sideris 1716502eff Improvements on the system theme 2018-09-19 22:42:26 +03:00
Konstantinos Sideris a339f5062f Add solid background in TypingDisplay 2018-08-10 10:58:46 +03:00
Konstantinos Sideris 8d3ef470f9 Remove hardcoded colors from the typing display 2018-08-08 12:51:40 +03:00
Konstantinos Sideris 1f47a6af3a Improve the style of snackbar a bit 2018-07-25 23:07:56 +03:00
Konstantinos Sideris 8386dd73ce Enable scrollbar on the room list for macOS (#174) 2018-07-25 18:59:33 +03:00
Konstantinos Sideris 069f0a1fbd Use native scrollbar in the timeline 2018-07-25 18:48:11 +03:00
Konstantinos Sideris 3a917f7f12 Use a brighter color for button text (#355) 2018-07-15 21:38:47 +03:00
Konstantinos Sideris 9a0e18dea7 Add a timeline message when encryption is enabled 2018-07-07 13:39:53 +03:00
Konstantinos Sideris 7621dc0cb0 Fix UI inconsistencies between room list & communities
fixes #204
fixes #255
2018-04-28 15:27:12 +03:00
Konstantinos Sideris 31f5fbf891 Improve the date separator widget 2018-04-25 15:38:25 +03:00
Konstantinos Sideris 4fd8eccece Adjust completion menu to fit its contents 2018-04-24 16:03:50 +03:00
Konstantinos Sideris 284d200361 Fix invite button colors on the system theme
fixes #248
2018-03-27 20:21:14 +03:00
Konstantinos Sideris 553a97c8bb Add basic support for username auto-completion
fixes #40
2018-03-24 23:16:15 +02:00
Konstantinos Sideris 64a6771dc8 Fix text color on room switcher
fixes #245
2018-03-22 09:16:17 +02:00
Konstantinos Sideris bac1f46127 Dark theme revisited 2018-03-18 23:38:04 +02:00
Konstantinos Sideris 48ee36f6b2 Add border in community list & minor refactorings (#204) 2018-03-18 17:38:57 +02:00
Konstantinos Sideris b70e09c7ec Add border line above the text input 2018-03-18 17:08:13 +02:00
Konstantinos Sideris af5663b6bc Add borders 2018-01-15 21:04:49 +02:00
Max Sandholm 312df6f3bb Communities (#195) 2018-01-09 15:07:32 +02:00
Konstantinos Sideris f11044b5eb Handle incoming invites
fixes #128
2017-12-19 22:36:12 +02:00
Konstantinos Sideris 3c5241ccd0 Add system theme colors for FloatingButton (#112) 2017-12-11 13:45:37 +02:00
Konstantinos Sideris ef0b0f6879 Add menu to invite users 2017-12-10 23:59:50 +02:00
Konstantinos Sideris 6415c4125f Add style colors for the ScrollBar 2017-12-05 14:13:26 +02:00
Konstantinos Sideris 5573548fb1 Allow audio clip uploads 2017-12-01 17:33:49 +02:00
Konstantinos Sideris eae069ad93 Group emoji and dialogs with namespaces 2017-11-30 20:02:46 +02:00
Konstantinos Sideris b21942a3e3 Add read support for m.file messages (#24) 2017-11-28 02:01:37 +02:00
Konstantinos Sideris f36e498503 Update system theme 2017-11-25 15:14:37 +02:00
Konstantinos Sideris c6cf6c2b41 Fix qss formatting 2017-11-23 16:25:58 +02:00
Max Sandholm 19b526d453 Use system color scheme (using a Qt stylesheet) #104
The color scheme of nheko obeys the default color theme of Qt
(i.e. the system theme). It uses a Qt stylesheet to accomplish this,
which means replacing the color theme with a custom theme would only
be a matter of writing a new style sheet and loading it into the app.
2017-11-16 16:33:52 +02:00