Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update browser extension export and input fields UI in light mode (#2528)
Leendert de Borst17a1a7229bdc
diff --git a/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ConfirmPasswordModal.tsx b/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ConfirmPasswordModal.tsxindex b35aa6fc8..46f35b19c 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ConfirmPasswordModal.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ConfirmPasswordModal.tsx@@ -90,7 +90,7 @@ const ConfirmPasswordModal: React.FC<ConfirmPasswordModalProps> = ({value={password}onChange={event => setPassword(event.target.value)}placeholder={t('auth.passwordPlaceholder')}- className="w-full px-3 py-2 text-sm rounded-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-900 dark:text-white"+ className="w-full px-3 py-2 text-sm rounded-md shadow-sm border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-900 dark:text-white"/></div>diff --git a/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ExportPasswordModal.tsx b/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ExportPasswordModal.tsxindex 735959984..0cb6284f4 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ExportPasswordModal.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Dialogs/ExportPasswordModal.tsx@@ -42,7 +42,7 @@ const ExportPasswordModal: React.FC<ExportPasswordModalProps> = ({ isOpen, onClo}};- const inputClassName = 'w-full px-3 py-2 text-sm rounded-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-900 dark:text-white';+ const inputClassName = 'w-full px-3 py-2 text-sm rounded-md shadow-sm border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-900 dark:text-white';return (<ModalWrapper isOpen={isOpen} onClose={onClose} title={t('importExport.exportEncryptedPasswordTitle')} maxWidth="max-w-sm">@@ -73,7 +73,7 @@ const ExportPasswordModal: React.FC<ExportPasswordModalProps> = ({ isOpen, onClo{t('common.cancel')}</button><button id="create-encrypted-export-button" type="submit" disabled={!isValid} className="px-4 py-2 text-sm bg-primary-500 text-white rounded hover:bg-primary-600 disabled:opacity-50">- {t('importExport.exportPasswordModal.createEncryptedExportButton')}+ {t('common.create')}</button></div></form>diff --git a/apps/browser-extension/src/entrypoints/popup/components/Forms/HiddenField.tsx b/apps/browser-extension/src/entrypoints/popup/components/Forms/HiddenField.tsxindex 9954aa515..91b47ea02 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Forms/HiddenField.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Forms/HiddenField.tsx@@ -65,7 +65,7 @@ const HiddenField: React.FC<IHiddenFieldProps> = ({value={value}onChange={(e) => onChange(e.target.value)}placeholder={placeholder}- className="outline-0 text-sm shadow-sm border border-gray-300 bg-gray-50 text-gray-900 sm:text-sm rounded-l-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white"+ className="outline-0 text-sm shadow-sm border border-gray-300 bg-white text-gray-900 sm:text-sm rounded-l-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white"/></div><div className="flex">diff --git a/apps/browser-extension/src/entrypoints/popup/components/Forms/PasswordField.tsx b/apps/browser-extension/src/entrypoints/popup/components/Forms/PasswordField.tsxindex 406f68018..6648a0a8c 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Forms/PasswordField.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Forms/PasswordField.tsx@@ -185,7 +185,7 @@ const PasswordField: React.FC<IPasswordFieldProps> = ({value={value}onChange={(e) => onChange(e.target.value)}placeholder={placeholder}- className="outline-0 text-sm shadow-sm border border-gray-300 bg-gray-50 text-gray-900 sm:text-sm rounded-l-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white"+ className="outline-0 text-sm shadow-sm border border-gray-300 bg-white text-gray-900 sm:text-sm rounded-l-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white"/></div><div className="flex">diff --git a/apps/browser-extension/src/entrypoints/popup/components/Forms/UsernameField.tsx b/apps/browser-extension/src/entrypoints/popup/components/Forms/UsernameField.tsxindex 9e3078f68..c0c8bc2d5 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Forms/UsernameField.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Forms/UsernameField.tsx@@ -51,7 +51,7 @@ const UsernameField: React.FC<IUsernameFieldProps> = ({value={value}onChange={handleInputChange}placeholder={placeholder}- className="outline-0 text-sm shadow-sm bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-l-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white"+ className="outline-0 text-sm shadow-sm bg-white border border-gray-300 text-gray-900 sm:text-sm rounded-l-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white"/></div><div className="flex">