Skip to content

Commit

Permalink
Fixed: Progress bar text colour in Dark theme
Browse files Browse the repository at this point in the history
Closes #2091

(cherry picked from commit ca61efa57fc04a7f6753aedb4b8044d17e345429)
  • Loading branch information
thezak48 authored and Qstick committed Jan 24, 2023
1 parent 31c8092 commit 95dbfb6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion frontend/src/Components/ProgressBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@

.frontTextContainer {
z-index: 1;
color: var(--white);
color: var(--progressBarFrontTextColor);
}

.backTextContainer {
color: var(--progressBarBackTextColor);
}

.backTextContainer,
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/Styles/Themes/dark.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ module.exports = {
//
// misc

progressBarFrontTextColor: white,
progressBarBackTextColor: white,
progressBarBackgroundColor: '#727070',
logEventsBackgroundColor: '#2a2a2a'
};
6 changes: 4 additions & 2 deletions frontend/src/Styles/Themes/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ module.exports = {
//
// misc

progressBarBackgroundColor: '#fff',
logEventsBackgroundColor: '#fff'
progressBarFrontTextColor: white,
progressBarBackTextColor: darkGray,
progressBarBackgroundColor: white,
logEventsBackgroundColor: white
};

0 comments on commit 95dbfb6

Please sign in to comment.