Skip to content

Commit

Permalink
Improve the dark mode in the login flow (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX authored Aug 20, 2019
1 parent c427297 commit 5c26e5c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 10 deletions.
38 changes: 34 additions & 4 deletions css/dark-mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,8 @@ html.dark-mode ._55r1._5f0v._43di {
color: var(--base-seventy-five);
}

/* Login button */
html.dark-mode ._5hy2 ._43dh {
html.dark-mode ._5hy2 ._43dh, /* Login button */
html.dark-mode ._3-mr ._3-mv /* Verification "Continue" button */ {
background-color: transparent !important;
}

Expand Down Expand Up @@ -763,8 +763,9 @@ html.dark-mode ._6ckd ._6ckf {
color: var(--base-ninety);
}

/* Login screen */
html.dark-mode ._3v_o {
html.dark-mode ._3v_o, /* Login screen */
html.dark-mode body.UIPage_LoggedOut ._li, /* 2FA screen */
html.dark-mode body.UIPage_LoggedOut ._4-u5 /* 2FA screen */ {
background-color: var(--container-dark-color);
}

Expand All @@ -777,6 +778,35 @@ html.dark-mode ._3v_o ._55r1::-webkit-input-placeholder {
color: var(--base-thirty) !important;
}

/* 2FA screen modal */
html.dark-mode body.UIPage_LoggedOut ._4-u8 {
background: var(--container-color);
border-color: var(--base-five) !important;
}

/* 2FA screen modal title */
html.dark-mode body.UIPage_LoggedOut ._2e9n {
border-color: var(--base-five);
color: #fff;
}

/* 2FA screen modal separator */
html.dark-mode body.UIPage_LoggedOut ._p0k ._5hzs {
border-color: var(--base-five);
}

/* 2FA screen modal separators */
html.dark-mode body.UIPage_LoggedOut a {
color: var(--blue);
}

/* 2FA screen modal input */
html.dark-mode body.UIPage_LoggedOut input {
background: var(--base-ten);
border-color: var(--base-ten);
color: var(--base-ninety);
}

/* Forward message icon */
html.dark-mode ._2u_d a {
filter: invert(1);
Expand Down
8 changes: 2 additions & 6 deletions css/vibrancy.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,9 @@ html.full-vibrancy ._4sp8 {
background: transparent !important;
}

/* Login screen */
html.full-vibrancy ._3v_o {
background-color: transparent !important;
}

/* Login button */
html.full-vibrancy ._5hy2 ._43dh {
html.full-vibrancy ._5hy2 ._43dh, /* Login button */
html.full-vibrancy ._3-mr ._3-mv /* Verification "Continue" button */ {
background-color: transparent !important;
}

Expand Down

0 comments on commit 5c26e5c

Please sign in to comment.