Merge pull request 'dark theme fixes' (#321) from dan/ui:06-darkthemeContacts into master
the build was successful Details

Reviewed-on: #321
This commit is contained in:
erinn 2020-08-31 16:08:20 -07:00
commit c55a6b196a
4 changed files with 13 additions and 10 deletions

View File

@ -273,7 +273,7 @@ ApplicationWindow {
if (currentIndex == managementPane) {
toolbar.hideTitle()
toolbar.rightMenuVisible = false
toolbar.color = Theme.backgroundMainColor
toolbar.color = Theme.toolbarMainColor
toolbar.leftMenuVisible = true
toolbar.backVisible = false
} else {
@ -283,9 +283,9 @@ ApplicationWindow {
if (currentIndex == profilePane && theStack.currentIndex == theStack.emptyPane) {
toolbar.hideTitle()
toolbar.rightMenuVisible = false
toolbar.color = Theme.backgroundMainColor
toolbar.color = Theme.toolbarMainColor
} else {
toolbar.color = Theme.backgroundPaneColor
toolbar.color = Theme.toolbarAltColor
}
}
}

@ -1 +1 @@
Subproject commit 60c6a8d9838df0a83b7e0faf06a4d6d01b4eb0a0
Subproject commit ec21dcbf8e20f4f894ba0dc829ccf18f56e0d27a

View File

@ -254,9 +254,9 @@ ColumnLayout {
height: 36 * gcd.themeScale
width: 48 * gcd.themeScale
backgroundColor: enabled ? Theme.backgroundMainColor : Theme.backgroundPaneColor
hilightBackgroundColor: Theme.backgroundPaneColor
iconColor: Theme.dividerColor
backgroundColor: enabled ? Theme.altButtonColor : Theme.altButtonDisabledColor
hilightBackgroundColor: backgroundColor
iconColor: enabled ? Theme.altButtonTextColor : Theme.altButtonDisabledTextColor
onClicked: emojiDrawer.visible ? emojiDrawer.slideclosed() : emojiDrawer.slideopen()
}
@ -269,9 +269,9 @@ ColumnLayout {
height: 36 * gcd.themeScale
width: 48 * gcd.themeScale
backgroundColor: enabled ? Theme.backgroundMainColor : Theme.backgroundPaneColor
hilightBackgroundColor: Theme.backgroundPaneColor
iconColor: Theme.dividerColor
backgroundColor: enabled ? Theme.altButtonColor : Theme.altButtonDisabledColor
hilightBackgroundColor: backgroundColor
iconColor: enabled ? Theme.altButtonTextColor : Theme.altButtonDisabledTextColor
onClicked: {
gcd.popup("attachments not yet implemented, sorry")

View File

@ -10,6 +10,7 @@ import QtQuick.Controls 1.4
import "../opaque" as Opaque
import "../opaque/styles"
import "../opaque/theme"
import "../opaque/fonts"
Item {
id: root
@ -110,6 +111,8 @@ Item {
color: Theme.portraitOnlineTextColor
size: Theme.usernameSize * gcd.themeScale
weight: Font.Bold
font.family: Fonts.applicationFontExtraBold.name
font.styleName: "ExtraBold"
text: nick
extraPadding: addBtn.width + 30
container: nameRow