You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently got full text search up and running on my Nextcloud instance. It works well, except for the fact that I can't really read the search results well at all because it's black text on a dark gray background. It appears as if the code is attempting to apply a stylesheet, but using the deprecated OC.addStyle function to do so. This is the stack trace:
I was able to modify the app on my instance to get the desired effect. I got it to load the stylesheet without error by simply replacing OC.addStyle with OCP.Loader.loadStylesheet like I mentioned above, but I also had to go into the CSS and set .result_title to color: #FFF because of the dark gray background. I checked and I don't believe I have any custom CSS / theming going on otherwise. I'm using the system default theme but prefer dark mode in general.
I recently got full text search up and running on my Nextcloud instance. It works well, except for the fact that I can't really read the search results well at all because it's black text on a dark gray background. It appears as if the code is attempting to apply a stylesheet, but using the deprecated
OC.addStyle
function to do so. This is the stack trace:I'm running Nextcloud Hub 8 (29.0.3). I don't think any other info is necessary here.
OC.addStyle
should be replaced withOCP.Loader.loadStylesheet
.The text was updated successfully, but these errors were encountered: