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

Commit 2fc0b111 authored by Dhruv Puri's avatar Dhruv Puri
Browse files

fix(login): pin loginflowv2 picker text to #EBEBEB in dark @media

Theming dark.css resolves --color-main-text to a dim value that fails
contrast on the loginflowv2 grant page background.

Refs ecorp/b2b/apps/workspace#19
parent 8cbbca00
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1807,6 +1807,13 @@ a.legal {
    color: var(--color-main-text) !important;
}
@media(prefers-color-scheme: dark){
    /* loginflowv2 (authpicker.php) instruction text. Theming dark.css can
       resolve --color-main-text to a dimmed value, so pin a high-contrast
       light color here. */
    #body-login .picker-window h2,
    #body-login .picker-window p.info {
        color: #EBEBEB;
    }
    #body-login .not_alt_login .picker-window h2 ,#body-login .not_alt_login .picker-window p.info {
        color:var(--color-main-text);
    }