fix(@desktop/browser): [base_bc] permissions modal looks off in dark mode

Add Theme in ´StatusBaseText´ components used in ´BrowserConnectionModal´.

Fixes #4547
This commit is contained in:
Noelia 2022-01-28 14:06:46 +01:00 committed by Sale Djenic
parent 2a1e7b3a2d
commit caa85a79b4
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import shared.panels 1.0
import StatusQ.Controls 0.1 import StatusQ.Controls 0.1
import StatusQ.Popups 0.1 import StatusQ.Popups 0.1
import StatusQ.Core 0.1 import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1
import "../controls" import "../controls"
import "../stores" import "../stores"
@ -100,6 +101,7 @@ StatusModal {
Layout.maximumWidth: browserConnectionModal.width - Style.current.padding Layout.maximumWidth: browserConnectionModal.width - Style.current.padding
Layout.fillWidth: true Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
color: Theme.palette.directColor1
} }
StatusAccountSelector { StatusAccountSelector {
@ -146,7 +148,7 @@ StatusModal {
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
font.pixelSize: 15 font.pixelSize: 15
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
color: Style.current.secondaryText color: Theme.palette.baseColor1
Layout.maximumWidth: browserConnectionModal.width - Style.current.padding Layout.maximumWidth: browserConnectionModal.width - Style.current.padding
Layout.fillWidth: true Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop Layout.alignment: Qt.AlignHCenter | Qt.AlignTop