-
Notifications
You must be signed in to change notification settings - Fork 26
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
🌓 Dark mode fixes #599
🌓 Dark mode fixes #599
Conversation
Change OutlineListItem color for dark mode to `gray.700`.
The title should have `gray.300` color in dark mode.
The color for `TransactionDetailsItem` and `TransactionDetailsAmountItem` should be `gray.300` for the dark mode.
Labels such as "step 1" or "Minting/Minted", "Unminting/Unminted" should be colored with `brand.300` for the dark mode.
The color of step indicator and the horizontal line next to the step should be `brand.300` for dark mode.
- change the white base color of the gradient to #323A47 (`gray.800`) - change the color of amounts to `brand.300`
- change body text to `gray.300` for dark mode - change placeholder text for the input to `gray.500` for dark mode
- replace the Metric Box background color to `gray.700` in dark mode - replace the background color of odd row (history rows) to `gray.700` in dark mode
Preview uploaded to https://preview.dashboard.test.threshold.network/dark-mode-fixes/index.html. |
Congrats! Just two things:
B. Please ensure that the 'tBTC AMOUNT' table title is the same color as the other titles. This comment also applies to the light version. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe let's use the useColorModeValue
hook on the top of the component because in case of conditional rendering, we will get a warning in console. WDYT?
Preview uploaded to https://preview.dashboard.test.threshold.network/dark-mode-fixes/index.html. |
Preview uploaded to https://preview.dashboard.test.threshold.network/dark-mode-fixes/index.html. |
This will prevent eny errors in the console.
Fixed in eb03a43
Fixed in f6fff3b Not sure if I did this one correctly. I've used
Fixed in a986c20 From the code it looks like the rest of the titles should be the same color as |
Good idea @r-czajkowski. Fixed it in 88bae6b |
Preview uploaded to https://preview.dashboard.test.threshold.network/dark-mode-fixes/index.html. |
Closes: #435
Also fixes the dark mode issues that were placed in Coda (see here, here and here)
Fixes:
1. Change OutlineListItem color for dark mode - b274717
Changes the color of the border for
MY ACTIVITY
itemsScreenshots
Before:
After:
2. Fix darkmode color for BridgeProcessStep - b914db0
Changes the color of the title of BridgeProcessStep (for example
Unminting in progress
)Screenshots
Before:
After:
3. Fix color for TransactionDetailsItem (dark mode) - a573ff4
Makes the TransactionDetailsItem values lighter
Screenshots
Before:
After:
4. Fix color for bridge process step subtitles - 125b257
Makes the Bridge Process Step subtitle lighter.
Screenshots
Before:
After:
5. Fix the colors in Step component (dark mode) - 72da36e
Screenshots
Before:
After:
6. Fix ProtocolHistory colors for dark mode - 7ed9785
Screenshots
Before:
After:
7. Fix dark mode issues for step 1 minting - 363f759
Screenshots
Before:
After:
8. Fix dark mode colors for tBTC Explorer - 9ae95cd
Screenshots
Before:
After: