Skip to content

Commit

Permalink
fix(substack): color-scheme and comment scrollbars (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored Dec 21, 2023
1 parent 10c139a commit eec4e67
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions styles/substack/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

:root,
.dark-mode {
color-scheme: if(@lookup=latte, light, dark);
--color-primary: @text;
--color-secondary: @subtext0;
--color-bg-primary: @base;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit eec4e67

Please sign in to comment.