Skip to content

Commit

Permalink
fix(scrollbar): fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin authored and torgeadelin committed Aug 21, 2024
1 parent 28ce3dd commit b97cee6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/ThemeProvider/ThemeProvider.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
// Firefox fix for scrollbar
// On macOS, you need to set the General > Show scroll bars
// setting in System Preferences to "Always" for this property to have any effect.
scrollbar-color: var(--mds-color-theme-scrollbar-background-secondary-normal)
var(--mds-color-theme-scrollbar-button-normal);
scrollbar-color: var(--mds-color-theme-scrollbar-button-normal)
var(--mds-color-theme-scrollbar-background-secondary-normal);
}

/* Global variables not available as tokens. */
Expand Down Expand Up @@ -73,6 +73,7 @@
/* Track */
::-webkit-scrollbar-track {
border-radius: 100vh;
background: var(--mds-color-theme-scrollbar-background-secondary-normal);
}

/* Handle */
Expand Down

0 comments on commit b97cee6

Please sign in to comment.