Skip to content

Commit

Permalink
frontend: use darkmode colors for scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
thisconnect committed Nov 11, 2024
1 parent 074e758 commit 1618af3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
5 changes: 5 additions & 0 deletions frontends/web/src/components/guide/guide.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
will-change: margin-right, transform;
}

.guide::-webkit-scrollbar-thumb {
background-color: white;
}


.header {
background-color: var(--color-blue);
height: var(--header-height);
Expand Down
4 changes: 0 additions & 4 deletions frontends/web/src/components/terms/terms.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
padding: var(--space-quarter) 1em 1em 1em;
}

.disclaimer::-webkit-scrollbar-track {
background-color: #fff;
}

.disclaimer .title {
font-size: .875rem;
font-weight: bold;
Expand Down
15 changes: 10 additions & 5 deletions frontends/web/src/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,25 @@ h1, h2, h3, h4, h5 {
line-height: 1.25;
}

::-webkit-scrollbar-track {
background-color: #F5F5F5;
::-webkit-scrollbar {
background-color: transparent;
border: none;
}

::-webkit-scrollbar {
background-color: transparent;
width: 4px;
background-color: #F5F5F5;
}
::-webkit-scrollbar-track {
background-color: transparent;
}

::-webkit-scrollbar-thumb {
background-color: var(--color-gray);
/* border: 2px solid #555555; */
background-clip: content-box;
background-color: var(--color-secondary);
}


p {
font-weight: 400;
font-size: var(--size-default);
Expand Down

0 comments on commit 1618af3

Please sign in to comment.