-
Notifications
You must be signed in to change notification settings - Fork 56
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
Changing the color of buttons in searchBuilder #294
Comments
Hi @mshqn , this looks like the dark mode of DataTables. The Is by chance your browser configured to use a dark mode? |
Thank you @mwouts! The problem was indeed in dark mode. My solution was to modify the yml:
I am not sure if this is the best solution but it worked: |
@mwouts is there a permanent solution for this, even the exported website buttons and inputs are not clearly vissble anymore. A temporary/ permanet fix to integrate with jupyter lab dark theme will be highly appreciated. |
As I mentioned above (#294 (comment)), the dark mode activation of ITables is done by the Can you make sure you do call that function? If so, can you look into the HTML file |
I had to change to light appearance at the OS level in MacOS ito fix this! Perhaps a line that omits checking system theme on macs would be useful! |
Yes as I mentioned above, the current light vs dark mode detection needs improving. The current logic is just below - dark mode is activated if either the browser is in dark mode or Jupyter is in dark mode: itables/src/itables/html/init_datatables.html Lines 1 to 11 in dfe261c
It would make sense to look at the Jupyter mode, and then at the system settings. PRs that would improve the current implementation are welcome! |
Hi everyone, I have a development version that should be a bit smarter re the dark mode. Would you mind giving it a try and let me know how it works for you? You can install it with:
(that requires |
Hello, currently the color of searchBuilder buttons is dark grey which makes it difficult to read the text inside them. Also adding searchBuilder to the table makes the search box and number of entries per page dark-coloured and the text is completely invisible. I would like to make all buttons and input fields light but I am not sure how to do it. I would be grateful for help.
Here is my example file:
I started with adding the following styles.css but it didn't work:
I don't have experience with html/css and not sure how to proceed.
The text was updated successfully, but these errors were encountered: