fix(substack): color-scheme and comment scrollbars (#408)
This commit is contained in:
1 parent
10c139a9f6
commit
eec4e676ac
1 file changed
+15
@@ -50,6 +50,7 @@
|
|||||||
|
|
||||||
:root,
|
:root,
|
||||||
.dark-mode {
|
.dark-mode {
|
||||||
|
color-scheme: if(@lookup=latte, light, dark);
|
||||||
--color-primary: @text;
|
--color-primary: @text;
|
||||||
--color-secondary: @subtext0;
|
--color-secondary: @subtext0;
|
||||||
--color-bg-primary: @base;
|
--color-bg-primary: @base;
|
||||||
@@ -142,6 +143,20 @@
|
|||||||
.button.user-indicator {
|
.button.user-indicator {
|
||||||
background: var(--color-bg-secondary-themed) !important;
|
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) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|||||||
Reference in new issue
Block a user