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

Sorin/yoext 1600/dark theme uat #3782

Merged
merged 29 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
53ff369
update button styles
SorinC6 Dec 11, 2024
7e34f95
update link styles
SorinC6 Dec 11, 2024
9517854
update info dialog styles
SorinC6 Dec 11, 2024
0fb7bef
fix error text
SorinC6 Dec 11, 2024
0cf82ab
update btn loading styles
SorinC6 Dec 11, 2024
9806c7c
update icon color
SorinC6 Dec 11, 2024
229d919
update logo
SorinC6 Dec 11, 2024
fca8565
update link color
SorinC6 Dec 12, 2024
cf268d7
update label and value colors
SorinC6 Dec 12, 2024
3907656
remove color
SorinC6 Dec 12, 2024
a4d6311
update icon color
SorinC6 Dec 12, 2024
2258774
update styles for send form
SorinC6 Dec 12, 2024
1491816
changed disabled button color
Nebyt Dec 13, 2024
cb0f682
removed exlemation sign from the text field
Nebyt Dec 13, 2024
e8fb75d
changed color for outlined button
Nebyt Dec 13, 2024
0aa4fce
fixed text color on Governance participating modal
Nebyt Dec 13, 2024
b1505ce
correct colors for the link component
Nebyt Dec 13, 2024
4474254
updated links
Nebyt Dec 13, 2024
ed7a063
updated text color on tabs
Nebyt Dec 13, 2024
c8ed366
updated single token color
Nebyt Dec 14, 2024
910de3a
updated dialogs and modals
Nebyt Dec 14, 2024
cf98c65
updates for the Receive page
Nebyt Dec 16, 2024
5d56908
updated export dialog qr code representation
Nebyt Dec 16, 2024
0c9974d
Updated the default token icon
Nebyt Dec 16, 2024
19ed14d
removed console log
Nebyt Dec 16, 2024
145c083
updates for the send flow
Nebyt Dec 16, 2024
b09b3ab
updated tertiary buttons
Nebyt Dec 16, 2024
e3fe08e
eslint fixes
Nebyt Dec 16, 2024
e1c40c5
Merge branch 'develop' into sorin/YOEXT-1600/dark-theme-uat
vsubhuman Dec 17, 2024
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
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.
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,9 @@ class AmountInputRevamp extends Component<AmountInputProps> {
fontSize: '24px',
lineHeight: '32px',
marginTop: '-16px',
color: 'ds.text_gray_medium',
},
'& input::placeholder': { color: 'grayscale.600' },
'& input::placeholder': { color: 'ds.text_gray_medium' },
}}
>
<NumericInputRP {...this.props} />
Expand Down
9 changes: 3 additions & 6 deletions packages/yoroi-extension/app/components/common/TextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import React from 'react';
import type { ElementRef, Node } from 'react';
import { IconButton, InputAdornment, TextField as TextFieldBase, useTheme, styled } from '@mui/material';
import { ReactComponent as ErrorIcon } from '../../assets/images/forms/error.inline.svg';
import { ReactComponent as DoneIcon } from '../../assets/images/forms/done.inline.svg';
import { ReactComponent as EyeIcon } from '../../assets/images/forms/password-eye-close.inline.svg';
import { ReactComponent as CloseEyeIcon } from '../../assets/images/forms/password-eye.inline.svg';
Expand Down Expand Up @@ -121,7 +120,7 @@ function TextField({
</InputAdornment>
) : type === 'password' ? (
<InputAdornment position="end" sx={{ minWidth: '52px', display: 'flex', justifyContent: 'flex-end' }}>
{Boolean(error) === true && !isRevampTheme ? <ErrorIcon /> : done === true && !isRevampTheme ? <DoneIcon /> : null}
{done === true && !isRevampTheme ? <DoneIcon /> : null}
<SIconButton
aria-label="toggle password visibility"
onClick={handleClickShowPassword}
Expand All @@ -137,16 +136,14 @@ function TextField({
</InputAdornment>
) : QRHandler ? (
<InputAdornment position="end" sx={{ minWidth: '52px', display: 'flex', justifyContent: 'flex-end' }}>
{Boolean(error) === true && !isRevampTheme ? <ErrorIcon /> : done === true && !isRevampTheme ? <DoneIcon /> : null}
{done === true && !isRevampTheme ? <DoneIcon /> : null}
<SIconButton aria-label="QR Code Scanner" onClick={QRHandler} edge="end">
<QRLogo />
</SIconButton>
</InputAdornment>
) : (
<InputAdornment position="end">
{Boolean(error) === true && !isRevampTheme ? (
<ErrorIcon id="input-error-icon" />
) : (done === true && !isRevampTheme) || greenCheck ? (
{(done === true && !isRevampTheme) || greenCheck ? (
<DoneIcon id="input-done-icon" />
) : null}
</InputAdornment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import FormControlLabel from '@mui/material/FormControlLabel';
import { ReactComponent as AnalyticsIllustration } from '../../../assets/images/analytics-illustration.inline.svg';
import { ReactComponent as YesIcon } from '../../../assets/images/yes.inline.svg';
import { ReactComponent as NoIcon } from '../../../assets/images/no.inline.svg';
import { Box, Typography } from '@mui/material';
import { Box, Link, Typography } from '@mui/material';
import { RevampSwitch } from '../../widgets/Switch';
import environment from '../../../environment';

Expand Down Expand Up @@ -180,14 +180,13 @@ export default class OptForAnalyticsForm extends Component<Props, State> {
marginTop: '15px',
}}
>
<a
<Link
target="_blank"
rel="noreferrer"
href={environment.externalPrivacyPolicyURL()}
className={styles.learnMore}
>
{intl.formatMessage(messages.privacyNotice)}
</a>
</Link>
</Box>
</Box>
) : null}
Expand All @@ -201,14 +200,13 @@ export default class OptForAnalyticsForm extends Component<Props, State> {
justifyContent: isStartupScreen ? 'center' : 'flex-start',
}}
>
<a
<Link
target="_blank"
rel="noreferrer"
href="https://emurgohelpdesk.zendesk.com/hc/en-us/articles/7594394140303-What-s-user-insights-"
className={styles.learnMore}
>
{intl.formatMessage(messages.learnMore)}
</a>
</Link>
</Box>

{isSettingsScreen ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
letter-spacing: 0px;
}

.learnMore {
color: #4b6dde;
text-decoration: none;
}

.skip {
text-align: center;
cursor: pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Component } from 'react';
import type { Node, ComponentType } from 'react';
import { observer } from 'mobx-react';
import { defineMessages, intlShape, FormattedMessage } from 'react-intl';
import { Box, Button, Typography } from '@mui/material';
import { Box, Button, Link, Typography } from '@mui/material';
import globalMessages from '../../../i18n/global-messages';
import type { $npm$ReactIntl$IntlFormat } from 'react-intl';
import { withLayout } from '../../../styles/context/layout';
Expand Down Expand Up @@ -66,23 +66,23 @@ class SupportSettings extends Component<Props & InjectedProps> {
const { intl } = this.context;

const faqLink = (
<a
<Link
href={intl.formatMessage(globalMessages.faqLinkUrl)}
onClick={event => onExternalLinkClick(event)}
id="settings:support-faq-link"
>
{intl.formatMessage(messages.faqLink)}
</a>
</Link>
);

const supportRequestLink = (
<a
<Link
href="https://emurgohelpdesk.zendesk.com/hc/en-us/requests/new?ticket_form_id=360013330335"
onClick={event => onExternalLinkClick(event)}
id="settings:support-requestSupport-link"
>
{intl.formatMessage(messages.supportRequestLink)}
</a>
</Link>
);

const downloadLogsLink = (
Expand Down Expand Up @@ -135,12 +135,6 @@ class SupportSettings extends Component<Props & InjectedProps> {
</Typography>
<Typography
component="div"
sx={{
'& a': {
color: 'ds.primary_500',
textDecoration: isRevampLayout ? 'none' : 'underline',
},
}}
color="ds.text_gray_medium"
variant={isRevampLayout ? 'body1' : 'body2'}
>
Expand Down
10 changes: 7 additions & 3 deletions packages/yoroi-extension/app/components/topbar/SidebarRevamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,13 @@ export default class SidebarRevamp extends Component<Props> {
target="_blank"
rel="noreferrer"
sx={{
color: 'grayscale.50',
bgcolor: 'primary.700',
'&:hover': { bgcolor: 'primary.800' },
color: 'ds.bg_color_contrast_high',
bgcolor: 'ds.el_primary_max',
'&:hover': {
bgcolor: 'ds.primary_800',
color: 'ds.bg_color_contrast_min',
textDecoration: 'none',
},
}}
>
{intl.formatMessage(globalMessages.sidebarFaq)}
Expand Down
Loading
Loading