How can I change text color on login screen?

Nextcloud version 18.0.4
Operating system and version OpenSuse Leap 51.1
Apache 2.4.33
PHP version 7.2.5

I’m using the "theming " app and would like to use a specific black&white wikimedia commons photo for login page background image.

Unfortunately the text on the login screen, esp. important texts like “forgot my password” are shown in white, meaning more or less completely unreadable.

How can I change this text color on the login screen?

Found a reference to css4 variables: https://github.com/nextcloud/server/blob/master/core/css/css-variables.scss but as there are no “%-login-%” “text” params I’m not sure if this would be the right starting point.

Thanks,
Michael

Perhaps you can find the configuration with the Firefox-Inspektor (F12).

Can’t you change it on the theming settings page?

I’ve installed the app “Custom CSS”.
In admin settings -> design you can add your styles. For changing color on login screen i’ve used following css code:

#body-login a, #body-login label, #body-login footer p, #body-login #alternative-logins legend, #body-login .lost-password-container #lost-password {
  color: white;
}
1 Like

@michi bloody cool hint, THANK YOU so much!!!