diff --git a/internal/frontend/qml/Bridge_test.qml b/internal/frontend/qml/Bridge_test.qml index 2e41be8f..b580ad8e 100644 --- a/internal/frontend/qml/Bridge_test.qml +++ b/internal/frontend/qml/Bridge_test.qml @@ -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" diff --git a/internal/frontend/qml/Proton/ColorScheme.qml b/internal/frontend/qml/Proton/ColorScheme.qml index 07c14bda..c29b2708 100644 --- a/internal/frontend/qml/Proton/ColorScheme.qml +++ b/internal/frontend/qml/Proton/ColorScheme.qml @@ -88,4 +88,5 @@ QtObject { // Images property string welcome_img + property string logo_img } diff --git a/internal/frontend/qml/Proton/Style.qml b/internal/frontend/qml/Proton/Style.qml index f50ed537..f5ea8fe7 100644 --- a/internal/frontend/qml/Proton/Style.qml +++ b/internal/frontend/qml/Proton/Style.qml @@ -106,6 +106,7 @@ QtObject { // Images welcome_img: "icons/img-welcome.png" + logo_img: "icons/product_logos.svg" } property ColorScheme lightProminentStyle: ColorScheme { @@ -180,6 +181,7 @@ QtObject { // Images welcome_img: "icons/img-welcome-dark.png" + logo_img: "icons/product_logos_dark.svg" } property ColorScheme darkStyle: ColorScheme { @@ -254,6 +256,7 @@ QtObject { // Images welcome_img: "icons/img-welcome-dark.png" + logo_img: "icons/product_logos_dark.svg" } property ColorScheme darkProminentStyle: ColorScheme { @@ -328,6 +331,7 @@ QtObject { // Images welcome_img: "icons/img-welcome-dark.png" + logo_img: "icons/product_logos_dark.svg" } property ColorScheme currentStyle: lightStyle diff --git a/internal/frontend/qml/WelcomeGuide.qml b/internal/frontend/qml/WelcomeGuide.qml index a56f06e9..d1efeb38 100644 --- a/internal/frontend/qml/WelcomeGuide.qml +++ b/internal/frontend/qml/WelcomeGuide.qml @@ -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 @@ -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 } } } diff --git a/internal/frontend/qml/icons/img-welcome-dark.png b/internal/frontend/qml/icons/img-welcome-dark.png index 830c00af..eff72885 100644 Binary files a/internal/frontend/qml/icons/img-welcome-dark.png and b/internal/frontend/qml/icons/img-welcome-dark.png differ diff --git a/internal/frontend/qml/icons/img-welcome-dark.svg b/internal/frontend/qml/icons/img-welcome-dark.svg index 305e7993..79863d49 100644 --- a/internal/frontend/qml/icons/img-welcome-dark.svg +++ b/internal/frontend/qml/icons/img-welcome-dark.svg @@ -1,14 +1,14 @@ + inkscape:current-layer="svg84" /> + y="0" /> - - - - + + + - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="defs82"> + gradientUnits="userSpaceOnUse" + gradientTransform="translate(202 51.5) rotate(145.641) scale(59.357 92.9759)"> + id="stop34" /> + id="stop36" /> + + + + + + + + + gradientUnits="userSpaceOnUse" + gradientTransform="translate(188.5 63.4994) rotate(135) scale(33.9411 55.1286)"> + id="stop52" /> + stop-color="white" + id="stop54" /> + + + + + + + + + + + + + + + + + + + + diff --git a/internal/frontend/qml/icons/img-welcome.png b/internal/frontend/qml/icons/img-welcome.png index 2f3050c9..19e5ea79 100644 Binary files a/internal/frontend/qml/icons/img-welcome.png and b/internal/frontend/qml/icons/img-welcome.png differ diff --git a/internal/frontend/qml/icons/img-welcome.svg b/internal/frontend/qml/icons/img-welcome.svg index 0d1f93a0..77540299 100644 --- a/internal/frontend/qml/icons/img-welcome.svg +++ b/internal/frontend/qml/icons/img-welcome.svg @@ -1,19 +1,22 @@ + inkscape:current-layer="svg84" /> - - - - + + + - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="defs82"> + gradientUnits="userSpaceOnUse" + gradientTransform="translate(202 51.5) rotate(145.641) scale(59.357 92.9759)"> + id="stop34" /> + id="stop36" /> + + + + + + + + + gradientUnits="userSpaceOnUse" + gradientTransform="translate(188.5 63.4994) rotate(135) scale(33.9411 55.1286)"> + id="stop52" /> + stop-color="white" + id="stop54" /> + + + + + + + + + + + + + + + + + + + + diff --git a/internal/frontend/qml/icons/product_logos.svg b/internal/frontend/qml/icons/product_logos.svg index b6878137..86a5be77 100644 --- a/internal/frontend/qml/icons/product_logos.svg +++ b/internal/frontend/qml/icons/product_logos.svg @@ -1,15 +1,123 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/internal/frontend/qml/icons/product_logos_dark.svg b/internal/frontend/qml/icons/product_logos_dark.svg new file mode 100644 index 00000000..d4c092d5 --- /dev/null +++ b/internal/frontend/qml/icons/product_logos_dark.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +