Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suisin/chore: update color of buttons to coral #107

Merged
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
328 changes: 48 additions & 280 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@deriv-com/utils": "^0.0.25",
"@deriv-com/ui": "1.29.10",
"@deriv/api": "^1.0.0",
"@deriv-com/quill-ui": "1.13.42",
"@deriv-com/quill-ui": "^1.14.0",
"@deriv/components": "^1.0.0",
"@deriv/hooks": "^1.0.0",
"@deriv/integration": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const CancelPhoneVerificationModal = observer(() => {
isOpened={show_modal}
shouldCloseOnPrimaryButtonClick
primaryButtonLabel={<Localize i18n_default_text='Continue verification' />}
buttonColor='coral'
showSecondaryButton
showCrossIcon
toggleModal={handleStayAtPhoneVerificationPage}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const ConfirmPhoneNumber = observer(({ show_confirm_phone_number, setOtpVerifica
</Text>
</Button>
<Button
color='black-white'
color='coral'
fullWidth
size='lg'
onClick={() => handleSubmit(VERIFICATION_SERVICES.WHATSAPP)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const CoolDownPeriodModal = observer(
isOpened={show_cool_down_period_modal}
primaryButtonLabel={<Localize i18n_default_text='OK' />}
primaryButtonCallback={handleCloseCoolDownPeriodModal}
buttonColor='coral'
>
<Modal.Header title={<Localize i18n_default_text='OTP limit reached' />} />
<Modal.Body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const DidntGetTheCodeModal = ({
primaryButtonCallback={handleResendCode}
secondaryButtonCallback={handleChangeOTPVerification}
primaryButtonLabel={<Localize i18n_default_text='Resend code' />}
buttonColor='coral'
secondaryButtonLabel={
<Localize
i18n_default_text='Send code via {{phone_verification_type}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ const OTPVerification = observer(({ phone_verification_type, setOtpVerification
}
}}
inputMode='numeric'
buttonColor='coral'
onChange={handleGetOtpValue}
message={phone_otp_error_message}
value={otp}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const PhoneNumberVerifiedModal = ({
isMobile={isMobile}
showHandleBar
isOpened={should_show_phone_number_verified_modal}
buttonColor='coral'
primaryButtonCallback={handleDoneButton}
primaryButtonLabel={<Localize i18n_default_text='OK' />}
disableCloseOnOverlay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const VerificationLinkExpiredModal = ({
showHandleBar
isOpened={should_show_verification_link_expired_modal}
isPrimaryButtonDisabled={!!next_email_otp_request_timer}
buttonColor='coral'
primaryButtonCallback={handleSendNewLinkButton}
primaryButtonLabel={
<Localize
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@datadog/browser-rum": "^5.11.0",
"@deriv-com/analytics": "1.12.1",
"@deriv-com/quill-tokens": "^2.0.4",
"@deriv-com/quill-ui": "1.13.42",
"@deriv-com/quill-ui": "^1.14.0",
"@deriv-com/translations": "1.3.5",
"@deriv-com/ui": "1.29.10",
"@deriv-com/utils": "^0.0.25",
Expand Down
2 changes: 1 addition & 1 deletion packages/trader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"dependencies": {
"@deriv-com/analytics": "1.12.1",
"@deriv-com/quill-tokens": "^2.0.4",
"@deriv-com/quill-ui": "1.13.42",
"@deriv-com/quill-ui": "^1.14.0",
"@deriv-com/utils": "^0.0.25",
"@deriv-com/ui": "1.29.10",
"@deriv/api-types": "1.0.172",
Expand Down
Loading