Browse Source

Revert "Style scrollbars in dark mode (#3975)"

This reverts commit 446c15c195f36c0640366c9df22cba6ea0370166.
main
Dan Abramov 3 years ago
committed by Dan Abramov
parent
commit
07923227b2
  1. 34
      beta/src/styles/index.css

34
beta/src/styles/index.css

@ -51,30 +51,12 @@
} }
a > code { a > code {
color: #087ea4 !important; /* blue-50 */ color: #087EA4 !important; /* blue-50 */
text-decoration: none !important; text-decoration: none !important;
} }
html.dark a > code { html.dark a > code {
color: #149eca !important; /* blue-40 */ color: #149ECA !important; /* blue-40 */
}
html.dark ::-webkit-scrollbar {
width: auto;
height: auto;
}
html.dark ::-webkit-scrollbar-track {
@apply bg-wash-dark;
}
html.dark ::-webkit-scrollbar-thumb {
@apply bg-card-dark;
}
html.dark ::-webkit-scrollbar-corner,
html.dark ::-webkit-resizer {
@apply bg-card-dark;
} }
.text-code { .text-code {
@ -120,20 +102,16 @@
} }
@keyframes nav-fadein { @keyframes nav-fadein {
from { from { opacity: 0.5; }
opacity: 0.5; to { opacity: 1; }
}
to {
opacity: 1;
}
} }
} }
#_hj_feedback_container > div > button:not([aria-label='Close']) { #_hj_feedback_container > div > button:not([aria-label="Close"]) {
display: none; display: none;
} }
#_hj_feedback_container > div { #_hj_feedback_container > div {
--hjFeedbackAccentColor: rgb(230, 247, 255) !important; --hjFeedbackAccentColor: rgb(230, 247, 255) !important;
--hjFeedbackAccentTextColor: rgb(73, 119, 171) !important; --hjFeedbackAccentTextColor: rgb(73, 119, 171) !important;
} }

Loading…
Cancel
Save