Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion toolkit/chakra/field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Field = React.forwardRef<HTMLDivElement, FieldProps>(
};

const labelElement = (
<ChakraField.Label bgColor={ rest.bgColor }>
<ChakraField.Label bgColor={ rest.bgColor || 'input.bg' }>
{ label }
<ChakraField.RequiredIndicator fallback={ optionalText }/>
{ errorText && (
Expand Down
2 changes: 1 addition & 1 deletion toolkit/theme/foundations/semanticTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
error: { value: '{colors.text.error}' },
},
bg: {
DEFAULT: { value: { _light: '{colors.white}', _dark: '{colors.black}' } },
DEFAULT: { value: 'transparent' },
readOnly: { value: { _light: '{colors.gray.200}', _dark: '{colors.gray.800}' } },
},
border: {
Expand Down
2 changes: 0 additions & 2 deletions ui/address/contract/methods/form/ContractMethodFieldInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const ContractMethodFieldInput = ({ data, hideLabel, path: name, className, isDi
const { control, setValue, getValues } = useFormContext();
const { field, fieldState } = useController({ control, name, rules: { validate } });

const inputBgColor = { _light: 'white', _dark: 'black' };
const nativeCoinRowBgColor = { _light: 'gray.100', _dark: 'gray.700' };

const hasMultiplyButton = argTypeMatchInt && Number(argTypeMatchInt.power) >= 64;
Expand Down Expand Up @@ -172,7 +171,6 @@ const ContractMethodFieldInput = ({ data, hideLabel, path: name, className, isDi
const inputProps = {
...field,
size: 'sm' as const,
bgColor: inputBgColor,
onChange: handleChange,
required: !isOptional,
placeholder: data.type,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ui/address/tokenSelect/TokenSelectMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const TokenSelectMenu = ({ erc20sort, erc1155sort, erc404sort, filteredData, onI
<FilterInput
placeholder="Search by token name"
size="sm"
inputProps={{ bgColor: 'dialog.bg' }}
mb={ 5 }
onChange={ onInputChange }
/>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ui/snippets/auth/fields/AuthModalFieldOtpCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const AuthModalFieldOtpCode = ({ isDisabled: isDisabledProp }: Props) => {
onValueChange={ handleChange }
disabled={ isDisabled }
invalid={ Boolean(fieldState.error) }
bgColor="dialog.bg"
/>
</HStack>
{ fieldState.error?.message && <Text color="text.error" textStyle="sm" mt={ 1 }>{ fieldState.error.message }</Text> }
Expand Down
1 change: 0 additions & 1 deletion ui/snippets/auth/screens/AuthModalScreenEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ const AuthModalScreenEmail = ({ onSubmit, isAuth, mixpanelConfig }: Props) => {
name="email"
required
placeholder="Email"
bgColor="dialog.bg"
mt={ 6 }
/>
<ReCaptcha { ...recaptcha }/>
Expand Down
2 changes: 0 additions & 2 deletions ui/watchlist/AddressModal/AddressForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ const AddressForm: React.FC<Props> = ({ data, onSuccess, setAlertVisible, isAdd,
<FormFieldAddress<Inputs>
name="address"
required
bgColor="dialog.bg"
mb={ 5 }
/>
<FormFieldText<Inputs>
Expand All @@ -141,7 +140,6 @@ const AddressForm: React.FC<Props> = ({ data, onSuccess, setAlertVisible, isAdd,
rules={{
maxLength: TAG_MAX_LENGTH,
}}
bgColor="dialog.bg"
mb={ 8 }
/>
{ hasEmail ? (
Expand Down
Loading