-
Notifications
You must be signed in to change notification settings - Fork 94
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
Black table on light theme #3369
Comments
I cannot reproduce this, can you maybe check if this is some browser caching that still sticky to a dark version? Does it also happen when you try loading in a private browser window? |
Just logged in with a different user on another client (PC) with private browsing (firefox). This time the theme defaulted to light. This is reproduceable for me and doesn't seem to be related to an old cache on the first view. |
How and where did you change the theme? I tried with the OS native dark/light mode on macOS and the table properly adjusts there. |
Just tried to keep the "system standard" setting of the theme and changed light/dark within the windows settings and the table color changes as expected (don't have access to my Ubuntu PC right now to double check there). Thus it seems to be related to the "manual" light/dark setting within nextcloud. |
This is not only related to firefox, but I can also reproduce this on chromium when setting the preferred color theme to dark but configuring nextcloud to use the light color theme. |
After experiencing this issue also on the forms app, I finally found the reason for this and a fix 🥳 The problem is the css variable evaluation order. So in this case:
So the solution would be that the server sets |
Describe the bug
If light theme is chosen, tables are shown in black.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Table should be "normally" visible (black lines/letters on white ground).
Screenshots
![Black table](https://user-images.githubusercontent.com/4077683/200181839-5697214f-8c6a-4825-b008-89e3dff07bcf.png)
Client details:
Server details
Text app version: 3.6.0
Operating system: Ubuntu 20.04
Web server: apache2 (2.4.54)
Database: mariadb (Ver 15.1 Distrib 10.3.34-MariaDB)
PHP version: 7.4.32
Nextcloud version: 25.0.1
The text was updated successfully, but these errors were encountered: