Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
chore: remove background color from InputAddonEnd (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
dated committed Aug 21, 2020
1 parent a9ef31c commit 6c98cb3
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Input/InputAddress.tsx
Expand Up @@ -66,7 +66,7 @@ export const InputAddress = ({
<button
data-testid="InputAddress__qr-button"
type="button"
className="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
className="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
onClick={onQRCodeClick}
>
<Icon name="Qrcode" width={20} height={20} />
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Input/InputPassword.tsx
Expand Up @@ -18,7 +18,7 @@ export const InputPassword = React.forwardRef<HTMLInputElement, InputPasswordPro
data-testid="InputPassword__toggle"
type="button"
onClick={togglePasswordVisibilty}
className="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
className="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
>
<Icon name={show ? "EyeOff" : "Eye"} />
</button>
Expand Down
Expand Up @@ -15,7 +15,7 @@ exports[`InputAddress should not use default validation 1`] = `
class="sc-AxiKw sc-AxhUy QmuzF my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down Expand Up @@ -49,7 +49,7 @@ exports[`InputAddress should render 1`] = `
class="sc-AxiKw sc-AxhUy QmuzF my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down
Expand Up @@ -15,7 +15,7 @@ exports[`InputPassword should render as a password field 1`] = `
class="sc-AxiKw sc-AxhUy QmuzF my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -551,7 +551,7 @@ exports[`ContactForm should select 1`] = `
class="sc-AxgMl sc-Axmtr hWILTO my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down Expand Up @@ -1168,7 +1168,7 @@ exports[`ContactForm should select with errors 1`] = `
class="sc-AxgMl sc-Axmtr hWILTO my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down Expand Up @@ -1346,7 +1346,7 @@ exports[`ContactForm when creating a new contact should render the form 1`] = `
class="sc-AxgMl sc-Axmtr hWILTO my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down Expand Up @@ -1524,7 +1524,7 @@ exports[`ContactForm when editing an existing contact should render the form 1`]
class="sc-AxgMl sc-Axmtr hWILTO my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down
Expand Up @@ -610,7 +610,7 @@ exports[`CreateContact should render create contact modal 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down
Expand Up @@ -172,7 +172,7 @@ exports[`UpdateContact should render a modal 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputAddress__qr-button"
type="button"
>
Expand Down
Expand Up @@ -182,7 +182,7 @@ export const AddRecipient = ({
setValue("amount", maxAvailableAmount);
singleRecipientOnChange();
}}
className="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
className="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
>
{t("TRANSACTION.SEND_ALL")}
</button>
Expand Down
Expand Up @@ -150,7 +150,7 @@ exports[`AddRecipient should render 1`] = `
class="sc-AxhUy sc-AxheI bYHtKZ"
>
<button
class="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
class="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
data-testid="add-recipient__send-all"
type="button"
>
Expand Down Expand Up @@ -315,7 +315,7 @@ exports[`AddRecipient should render with multiple recipients tab 1`] = `
class="sc-AxhUy sc-AxheI bYHtKZ"
>
<button
class="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
class="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
data-testid="add-recipient__send-all"
type="button"
>
Expand Down Expand Up @@ -491,7 +491,7 @@ exports[`AddRecipient should render with single recipient data 1`] = `
class="sc-AxhUy sc-AxheI bYHtKZ"
>
<button
class="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
class="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
data-testid="add-recipient__send-all"
type="button"
>
Expand Down Expand Up @@ -656,7 +656,7 @@ exports[`AddRecipient should render without recipients 1`] = `
class="sc-AxhUy sc-AxheI bYHtKZ"
>
<button
class="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
class="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
data-testid="add-recipient__send-all"
type="button"
>
Expand Down Expand Up @@ -821,7 +821,7 @@ exports[`AddRecipient should set available amount 1`] = `
class="sc-AxhUy sc-AxheI bYHtKZ"
>
<button
class="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
class="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
data-testid="add-recipient__send-all"
type="button"
>
Expand Down
Expand Up @@ -422,7 +422,7 @@ exports[`MultiSignatureDetail should render 2nd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -2625,7 +2625,7 @@ exports[`Registration should render 4th step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -2671,7 +2671,7 @@ exports[`Registration should render 4th step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -1430,7 +1430,7 @@ exports[`ResignRegistration should render 3rd step 1`] = `
class="sc-AxmLO sc-fzoLsD ijnrnY my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -1476,7 +1476,7 @@ exports[`ResignRegistration should render 3rd step 1`] = `
class="sc-AxmLO sc-fzoLsD ijnrnY my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -335,7 +335,7 @@ exports[`SendIPFSTransaction should error if wrong mnemonic 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -1521,7 +1521,7 @@ exports[`SendIPFSTransaction should render 3rd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -1169,7 +1169,7 @@ exports[`Vote For Delegate should render 3rd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -1215,7 +1215,7 @@ exports[`Vote For Delegate should render 3rd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -1286,7 +1286,7 @@ exports[`Vote For Delegate should render 3rd step 2`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -338,7 +338,7 @@ exports[`Transaction Send should error if wrong mnemonic 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -691,7 +691,7 @@ exports[`Transaction Send should render 1st step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj"
>
<button
class="h-12 pl-6 pr-3 mr-1 bg-white text-theme-primary focus:outline-none"
class="h-12 pl-6 pr-3 mr-1 text-theme-primary focus:outline-none"
data-testid="add-recipient__send-all"
type="button"
>
Expand Down Expand Up @@ -1273,7 +1273,7 @@ exports[`Transaction Send should render 3rd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -1666,7 +1666,7 @@ exports[`UpdateRegistration should render 3rd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -1712,7 +1712,7 @@ exports[`UpdateRegistration should render 3rd step 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -171,7 +171,7 @@ exports[`SignMessage should render 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down Expand Up @@ -389,7 +389,7 @@ exports[`SignMessage should sign message 1`] = `
class="sc-AxheI sc-AxmLO jcthaj my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down
Expand Up @@ -1628,7 +1628,7 @@ exports[`ImportWallet should render 2st step 1`] = `
class="sc-AxgMl sc-Axmtr hWILTO my-px mr-4"
>
<button
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none bg-theme-background text-theme-primary-400"
class="flex items-center justify-center w-full h-full text-2xl focus:outline-none text-theme-primary-400"
data-testid="InputPassword__toggle"
type="button"
>
Expand Down

0 comments on commit 6c98cb3

Please sign in to comment.