fix(substack): color-scheme and comment scrollbars (#408)

This commit is contained in:
nekowinston authored and GitHub committed 2023-12-21 02:25:58 +01:00
1 parent 10c139a9f6
commit eec4e676ac
1 file changed
+15
+15
View File
@@ -50,6 +50,7 @@
:root,
.dark-mode {
color-scheme: if(@lookup=latte, light, dark);
--color-primary: @text;
--color-secondary: @subtext0;
--color-bg-primary: @base;
@@ -142,6 +143,20 @@
.button.user-indicator {
background: var(--color-bg-secondary-themed) !important;
}
// comment boxes
.comment-input-wrap form.comment-input .comment-input-right textarea {
overflow-y: auto !important;
}
::-webkit-scrollbar {
background: @mantle;
width: 0.25rem;
}
::-webkit-scrollbar-thumb {
background: @accent;
border-radius: 9999px;
}
}
@media (prefers-color-scheme: dark) {