Skip to content

Commit

Permalink
feat(scrollbar): adjustable color using variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenpaauw committed Mar 30, 2024
1 parent 877a9b4 commit ddf0a72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mvp.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
--color-table: #118bee;
--color-text: #000;
--color-text-secondary: #999;
--color-scrollbar: #cacae8;
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--hover-brightness: 1.2;
--justify-important: center;
Expand Down Expand Up @@ -518,7 +519,7 @@ blockquote footer {
/* Scrollbars */
* {
scrollbar-width: thin;
scrollbar-color: rgb(202, 202, 232) transparent;
scrollbar-color: var(--color-scrollbar) transparent;
}

*::-webkit-scrollbar {
Expand All @@ -531,6 +532,6 @@ blockquote footer {
}

*::-webkit-scrollbar-thumb {
background-color: rgb(202, 202, 232);
background-color: var(--color-scrollbar);
border-radius: 10px;
}

0 comments on commit ddf0a72

Please sign in to comment.