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

Update AlertBox colors #1439

Merged
merged 9 commits into from
May 9, 2023
Merged

Update AlertBox colors #1439

merged 9 commits into from
May 9, 2023

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented May 4, 2023

@github-actions
Copy link

github-actions bot commented May 4, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 27 0 0.12s
✅ REPOSITORY checkov yes no 25.06s
✅ REPOSITORY git_diff yes no 0.0s
✅ TSX eslint 19 0 0 9.94s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@cloudflare-pages
Copy link

cloudflare-pages bot commented May 4, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a31fc60
Status: ✅  Deploy successful!
Preview URL: https://97d95762.oasis-wallet.pages.dev
Branch Preview URL: https://lw-alertbox-colors.oasis-wallet.pages.dev

View logs

@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #1439 (a31fc60) into master (578a49f) will decrease coverage by 0.10%.
The diff coverage is 82.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1439      +/-   ##
==========================================
- Coverage   83.02%   82.92%   -0.10%     
==========================================
  Files         154      154              
  Lines        4029     4042      +13     
  Branches      726      728       +2     
==========================================
+ Hits         3345     3352       +7     
- Misses        684      690       +6     
Flag Coverage Δ
cypress 50.91% <72.72%> (+0.14%) ⬆️
jest 78.06% <55.17%> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/app/components/BuildPreviewBanner/index.tsx 100.00% <ø> (ø)
src/app/components/ErrorBoundary/index.tsx 0.00% <ø> (ø)
src/app/components/FatalErrorHandler/index.tsx 86.20% <ø> (ø)
src/app/components/TransactionModal/index.tsx 95.23% <ø> (ø)
src/app/pages/ConnectDevicePage/index.tsx 100.00% <ø> (ø)
src/app/pages/FiatOnramp/index.tsx 0.00% <ø> (ø)
...ge/Features/ImportAccountsSelectionModal/index.tsx 91.80% <0.00%> (ø)
...app/pages/ParaTimesPage/TransactionError/index.tsx 100.00% <ø> (ø)
src/styles/theme/ThemeProvider.tsx 100.00% <ø> (ø)
src/app/pages/AccountPage/index.tsx 97.46% <50.00%> (ø)
... and 7 more

... and 1 file with indirect coverage changes

Copy link
Contributor

@buberdds buberdds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an issue with bg colors or am I looking at wrong Figma?

},
'alert-box-error-background': {
dark: '#ffe7d9',
light: '#f26111',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we align text color as well? otherwise light/error will fail accessibility color contrast with current #444. Mocks are using diff font color.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do that in a separate PR. I think the font color change applies everywhere

light: '#f3d45e',
},
'alert-box-error': {
dark: '#d24c00',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#F26111

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, seems to have changed

},
'alert-box-warning': {
dark: '#f3d45e',
light: '#f0e8cb',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#F3D45E

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's a bug on mocks - border #F3D45E should match the icon #f0e8cb

@lukaw3d lukaw3d merged commit 93c1920 into master May 9, 2023
10 of 11 checks passed
@lukaw3d lukaw3d deleted the lw/alertbox-colors branch May 9, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants