1
0
mirror of https://github.com/QRouland/UTPass.git synced 2026-01-10 19:36:57 +00:00

Update UI Color with recommandation and fix the issues with dark theme

This commit is contained in:
2025-01-13 20:51:29 +01:00
parent b022e30a89
commit 8ec593becc
15 changed files with 101 additions and 121 deletions

View File

@@ -3,7 +3,7 @@ import Lomiri.Components.Popups 1.3
import QtQuick 2.4
Dialog {
id: passphraseProvider
id: dialog
signal validated(string passphrase)
signal canceled()
@@ -27,11 +27,11 @@ Dialog {
id: okButton
text: i18n.tr("Ok")
color: LomiriColors.green
color: theme.palette.normal.positive
onClicked: {
validated(passphraseField.text);
passphraseField.text = "";
PopupUtils.close(passphraseProvider);
PopupUtils.close(dialog);
}
}
@@ -39,10 +39,9 @@ Dialog {
id: cancelButton
text: i18n.tr("Cancel")
color: LomiriColors.red
onClicked: {
canceled();
PopupUtils.close(passphraseProvider);
PopupUtils.close(dialog);
}
}