Skip to content

Commit

Permalink
Merge branch 'master' into enh/render-new-vc
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatrakazas committed May 21, 2024
2 parents 07bf477 + 85b579e commit 0282406
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Popups/PinInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function PinInput({ showPopup, setShowPopup }) {
onClick={() => handleInputClick(index)}
onPaste={(e) => handleInputPaste(e.clipboardData.getData('Text'))}
onKeyPress={(e) => handleInputKeyPress(e)}
className="w-10 px-3 mx-1 my-2 py-2 dark:bg-gray-700 dark:text-white border border-gray-300 dark:border-gray-500 rounded-md focus:outline-none focus:ring-blue-500 focus:border-blue-500"
className="w-10 px-3 mx-1 my-2 py-2 dark:bg-gray-700 dark:text-white border border-gray-300 dark:border-gray-500 rounded-md focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:inputDarkModeOverride"
ref={inputRefs[index]}
/>
))}
Expand Down
10 changes: 10 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,14 @@ button.reactour__close {

.fade-in {
animation: fade-in 1s ease-in-out;
/* Light and Dark mode input autofill */

This comment has been minimized.

Copy link
@parha

parha May 24, 2024

Missing closing brace for fade-in

This comment has been minimized.

Copy link
@gkatrakazas

gkatrakazas Jun 8, 2024

Author Contributor

Missing closing brace for fade-in

Thanks is solve that with #252

input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 30px rgb(245, 245, 245) inset !important;
}

@layer components {
.inputDarkModeOverride:-webkit-autofill {
-webkit-box-shadow: 0 0 0 30px rgb(70, 70, 70) inset !important;
-webkit-text-fill-color: white;
}
}
2 changes: 1 addition & 1 deletion src/pages/AddCredentials/AddCredentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const Issuers = () => {
<input
type="text"
placeholder={t('pageAddCredentials.searchPlaceholder')}
className="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500"
className="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:inputDarkModeOverride"
value={searchQuery}
onChange={handleSearch}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const FormInputField = ({
return (
<div className="relative">
<input
className="border border-gray-300 dark:border-gray-500 rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 text-gray-700 dark:bg-transparent dark:text-white w-full py-1.5 pl-10 pr-3"
className="border border-gray-300 dark:border-gray-500 rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 text-gray-700 dark:bg-transparent dark:text-white dark:inputDarkModeOverride w-full py-1.5 pl-10 pr-3"
type={show ? 'text' : type}
name={name}
placeholder={placeholder}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SendCredentials/SendCredentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const Verifiers = () => {
<input
type="text"
placeholder={t('pageSendCredentials.searchPlaceholder')}
className="border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 w-full px-3 py-2"
className="border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:inputDarkModeOverride w-full px-3 py-2"
value={searchQuery}
onChange={handleSearch}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const WebauthnRegistation = ({
<p className="mb-2 dark:text-white">{t('pageSettings.registerPasskey.giveNickname')}</p>
<input
type="text"
className="border border-gray-300 dark:border-gray-500 dark:bg-gray-700 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 py-1.5 px-3"
className="border border-gray-300 dark:border-gray-500 dark:bg-gray-700 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:inputDarkModeOverride py-1.5 px-3"
aria-label="Nickname for new credential"
autoFocus={true}
disabled={isSubmitting}
Expand Down Expand Up @@ -429,7 +429,7 @@ const WebauthnCredentialItem = ({
{t('pageSettings.passkeyItem.nickname')}:&nbsp;
</p>
<input
className="border border-gray-300 dark:border-gray-500 dark:bg-gray-800 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 py-1.5 px-3 w-36"
className="border border-gray-300 dark:border-gray-500 dark:bg-gray-800 dark:text-white rounded-lg focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:inputDarkModeOverride py-1.5 px-3 w-36"

type="text"
placeholder={t('pageSettings.passkeyItem.nicknameInput')}
Expand Down

0 comments on commit 0282406

Please sign in to comment.