Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the dark mode in the login flow #1049

Merged
merged 1 commit into from
Aug 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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