-
Notifications
You must be signed in to change notification settings - Fork 32
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
ISPN-15105 Console black theme #409
Conversation
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.
Hi, thanks for the contributions!!
:))
Please include in this PR only the changes of the commit for black theme. Otherwise is too hard for me to review
Concerning black theme:
- There are a couple of components that don't apply the thème properly, and so the labels are not displayed:
Status in Data container
-
the fact that we reload the page (F5) makes the user loose the preferences of having the black theme. This is the way users use the console a lot. Would be useful to keep in a local cookie in the browser the preference for the black thème. We don't track connected users, the server is stateless, so we can't store this information somewhere else.
-
The cache detail tab is not well adapted. Probably something asking for "white" directly in the code
- would be nice to see if we can use the highlighter
@himanshu608 are you still interested in finishing the task ? thanks! :) |
I was busy on some other projects. I will continue it now. The 4th point : would be nice to see if we can use the highlighter. |
@himanshu608 the syntax highlight uses the github theme. we need to adapt it to use a dark theme when displaying entries when dark theme is chosen. |
Okay got it.., and also.
For SyntaxHighlighter, we can toggle theme by Implementing ThemeProvider and theme state Context, |
@himanshu608 I don't have any strong opinon in which is the theme that adapts best since I did not find any theme with the exact grey background as patternfly black theme. Any dark theme should be better than the white gist theme |
@karesti , I have created a new PR with commits related to these changes only,
|
Closes: #396
Description
Feature to toggle between Dark/Light theme.
Light Theme:
Dark Theme:
How Has This Been Tested?
Tested manually on browser.
Test Impact
Only UI change.
Request review criteria:
Self checklist (all need to be checked):