-
Notifications
You must be signed in to change notification settings - Fork 1
feat: TT-332 Dark mode #746
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #746 +/- ##
==========================================
+ Coverage 95.54% 95.64% +0.09%
==========================================
Files 106 107 +1
Lines 2247 2273 +26
Branches 169 175 +6
==========================================
+ Hits 2147 2174 +27
+ Misses 57 54 -3
- Partials 43 45 +2
Continue to review full report at Codecov.
|
Hello Jose, I am not sure if you have noticed, but the content from certain entries is not visible in most tabs when using Dark mode, with exception of the Time Clock tab. Also, I see that the test coverage has not reached the expected minimum with the current changes. |
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.
Good Job @JosueOb !
@@ -62,3 +63,9 @@ body { | |||
height: -o-calc(100vh - 12vh); | |||
height: calc(100vh - 12vh); | |||
} | |||
|
|||
.dark-mode-toggle{ |
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.
add a space after .dark-mode-toggle
.dark-mode-toggle {
…e component and style name of the sidebar component
…e component and style name of the sidebar component
Kudos, SonarCloud Quality Gate passed!
|
Description
The dark mode is a temporary change in the color palette of the software, this feature offers several benefits, among the main ones are: it prevents the user's vision from getting tired in less time and battery-saving due to the reduction of the screen brightness.
Solution
Using Tailwind CSS to style Time Tracker UI in dark mode, allowing the user to switch between light and dark mode. Also, Tailwind was configured to set the color palette for the project.
Implementation example
Light mode
Dark mode