Skip to content

Commit eec4e67

Browse files
authored
fix(substack): color-scheme and comment scrollbars (catppuccin#408)
1 parent 10c139a commit eec4e67

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

styles/substack/catppuccin.user.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
:root,
5252
.dark-mode {
53+
color-scheme: if(@lookup=latte, light, dark);
5354
--color-primary: @text;
5455
--color-secondary: @subtext0;
5556
--color-bg-primary: @base;
@@ -142,6 +143,20 @@
142143
.button.user-indicator {
143144
background: var(--color-bg-secondary-themed) !important;
144145
}
146+
147+
// comment boxes
148+
.comment-input-wrap form.comment-input .comment-input-right textarea {
149+
overflow-y: auto !important;
150+
}
151+
152+
::-webkit-scrollbar {
153+
background: @mantle;
154+
width: 0.25rem;
155+
}
156+
::-webkit-scrollbar-thumb {
157+
background: @accent;
158+
border-radius: 9999px;
159+
}
145160
}
146161

147162
@media (prefers-color-scheme: dark) {

0 commit comments

Comments
 (0)