Show last event time in RoomDelegate

Also respect locale for message times
This commit is contained in:
miruka
2019-08-16 12:07:22 -04:00
parent c76ebe4fe2
commit 2bb3952225
4 changed files with 86 additions and 26 deletions

View File

@@ -48,13 +48,14 @@ colors:
color inputBackground:
hsluv(hue, saturation, intensity * 2, Math.min(0.6, opacity))
color brightText: hsluv(0, 0, intensity * 100)
color text: hsluv(0, 0, intensity * 80)
color dimText: hsluv(0, 0, intensity * 55)
color dimmerText: hsluv(0, 0, intensity * 30)
color accentText: hsluv(hue - 10, saturation * 2.25, 60)
color link: accentText
color code: hsluv(hue + 5, saturation * 1.5, intensity * 60)
color brightText: hsluv(0, 0, intensity * 100)
color text: hsluv(0, 0, intensity * 80)
color halfDimText: hsluv(0, 0, intensity * 70)
color dimText: hsluv(0, 0, intensity * 55)
color dimmerText: hsluv(0, 0, intensity * 30)
color accentText: hsluv(hue - 10, saturation * 2.25, 60)
color link: accentText
color code: hsluv(hue + 5, saturation * 1.5, intensity * 60)
// Example of an animation, set running: true to enable
NumberAnimation on hue
@@ -159,9 +160,10 @@ sidePane:
color name: colors.text
room:
color background: "transparent"
color name: colors.text
color subtitle: colors.dimText
color background: "transparent"
color name: colors.text
color subtitle: colors.dimText
color lastEventDate: colors.halfDimText
settingsButton:
color background: colors.inputBackground