Skip to content

Commit

Permalink
fix(scrollbar): dark mode scrollbar color
Browse files Browse the repository at this point in the history
  • Loading branch information
dancormier committed Oct 19, 2023
1 parent d4016e0 commit cbab236
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lib/exports/color-sets.less
Original file line number Diff line number Diff line change
Expand Up @@ -512,13 +512,18 @@
variable: hsl(62, 71%, 81%);
}

// Scrollbar (sets represents both light and dark mode)
.set-scrollbar() {
default: hsla(0, 0%, 0%, 0.2);
}
.set-scrollbar-dark() {
default: hsla(0, 0%, 100%, 0.2);
}
.set-scrollbar-hc() {
default: var(--black);
}
.set-scrollbar-hc-dark() {
default: var(--black);
}

// Color sets
.sets-mode() {
Expand Down Expand Up @@ -612,7 +617,7 @@
bs: .set-bs-dark();
focus-ring: .set-focus-dark();
highlight: .set-highlight-dark();
scrollbar: .set-scrollbar();
scrollbar: .set-scrollbar-dark();
}

.sets-utility-hc() {
Expand All @@ -628,7 +633,7 @@
bs: .set-bs-hc-dark();
focus-ring: .set-focus-hc();
highlight: .set-highlight-hc-dark();
scrollbar: .set-scrollbar-hc();
scrollbar: .set-scrollbar-hc-dark();
}

// Theme values
Expand Down

0 comments on commit cbab236

Please sign in to comment.