-
Notifications
You must be signed in to change notification settings - Fork 107
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
feat: TableReport dark theme #1201
base: main
Are you sure you want to change the base?
Conversation
Hi @rouk1 ! thanks so much for doing this 🚀 the TableReport looks really nice in the proposed dark mod🤩 I noticed that some aspects that are not related to colors are affected by the PR as well; here are a first few comments
In the summary statistics there used to be a thick gray line separating the first column when it overlaps the rest, I think it helps realize that this column is sticky and some content is hidden behind it due to horizontal scrolling, that has been removed in the toggle tip shown below, there used to be a transition delay so that if we hover the ( i ) button and then move the mouse to hover over the text it doesn't disappear; now as soon as the mouse leaves the button the text disappears. also there used to be a ring around it when we click it not sure if it is intentional but the background color of the header in the associations panel is gone, I don't have a strong opinion as to whether it is better or worse most of these changes don't seem to be related to dark mode but it is true we had discussed that this is an opportunity to refactor the css a bit. so I'm not sure which of these are intentional or not, maybe it would help to have another quick call also with @glemaitre to discuss this? it might be easier interactively while looking at an open report. now regarding the colors and the dark mode itself, here are a couple of comments:
thanks again for all this work and LMK if you would like to schedule a call or I can also come to montparnasse sometime! |
Thanks for the review @jeromedockes, I'll try to work on your feedbacks on friday. |
cool, thanks!! |
…appear when hovering it - tip button outline is now blue
…high contrast and is not related to plot colors
Hello @jeromedockes ! I think I've addressed your feedbacks. Please let me know if you want something else or if I miss something. tackled feedbacks
Not sure on how I may address this. UI previewsk-tr-dm-pr.mp4 |
This PR introduces a dark mode for the TableReport.
I tried to use as much as possible css variables all centralized in a
_variables.css
file.UI preview
darkmode.mp4