Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30ad03bd authored by Dhruv Puri's avatar Dhruv Puri
Browse files

fix(login): force white text on body-login primary buttons in dark mode

Theming dark.css sets --color-primary-element-text: #000, which leaves
the 'Back to Murena Workspace' button text unreadable on the blue
background.

Refs ecorp/b2b/apps/workspace#19
parent 2fc0b111
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1814,6 +1814,13 @@ a.legal {
    #body-login .picker-window p.info {
        color: #EBEBEB;
    }
    /* Primary action buttons on the body-login error pages get black text
       from theming's --color-primary-element-text override, which leaves
       them unreadable on the blue background. */
    #body-login a.button.primary,
    #body-login .body-login-container a.button.primary {
        color: #ffffff;
    }
    #body-login .not_alt_login .picker-window h2 ,#body-login .not_alt_login .picker-window p.info {
        color:var(--color-main-text);
    }