Skip to content

Commit

Permalink
GODT-1542: Update login screen for rebranding.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuthix committed May 18, 2022
1 parent f3c69fa commit 7d41062
Show file tree
Hide file tree
Showing 10 changed files with 567 additions and 343 deletions.
2 changes: 1 addition & 1 deletion internal/frontend/qml/Bridge_test.qml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Window {


// add one user on start
var hasUserOnStart = true
var hasUserOnStart = false
if (hasUserOnStart) {
var newUserObject = root.userComponent.createObject(root)
newUserObject.username = "LerooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooyJenkins@protonmail.com"
Expand Down
1 change: 1 addition & 0 deletions internal/frontend/qml/Proton/ColorScheme.qml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,5 @@ QtObject {

// Images
property string welcome_img
property string logo_img
}
4 changes: 4 additions & 0 deletions internal/frontend/qml/Proton/Style.qml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ QtObject {

// Images
welcome_img: "icons/img-welcome.png"
logo_img: "icons/product_logos.svg"
}

property ColorScheme lightProminentStyle: ColorScheme {
Expand Down Expand Up @@ -180,6 +181,7 @@ QtObject {

// Images
welcome_img: "icons/img-welcome-dark.png"
logo_img: "icons/product_logos_dark.svg"
}

property ColorScheme darkStyle: ColorScheme {
Expand Down Expand Up @@ -254,6 +256,7 @@ QtObject {

// Images
welcome_img: "icons/img-welcome-dark.png"
logo_img: "icons/product_logos_dark.svg"
}

property ColorScheme darkProminentStyle: ColorScheme {
Expand Down Expand Up @@ -328,6 +331,7 @@ QtObject {

// Images
welcome_img: "icons/img-welcome-dark.png"
logo_img: "icons/product_logos_dark.svg"
}

property ColorScheme currentStyle: lightStyle
Expand Down
8 changes: 4 additions & 4 deletions internal/frontend/qml/WelcomeGuide.qml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Item {
Label {
colorScheme: root.colorScheme
id: longTextLabel
text: qsTr("Now you can securely access and manage Proton Mail messages in your favorite email client. Bridge runs in the background and encrypts and decrypts your messages seamlessly.")
text: qsTr("Add your Proton Mail account to securely access and manage your messages in your favorite email client. Bridge runs in the background and encrypts and decrypts your messages seamlessly.")
Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true
Layout.topMargin: 16
Expand Down Expand Up @@ -135,14 +135,14 @@ Item {

Image {
id: logoImage
source: "icons/product_logos.svg"
source: colorScheme.logo_img

anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.topMargin: 48
anchors.bottomMargin: 48
sourceSize.height: 22
sourceSize.width: 132
sourceSize.height: 25
sourceSize.width: 200
}
}
}
Expand Down
Binary file modified internal/frontend/qml/icons/img-welcome-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7d41062

Please sign in to comment.