add missing color to scrollbar-color property (#7481)

This commit is contained in:
Bohdan
2026-03-13 18:21:44 +00:00
committed by lohit-bruno
parent d45a975335
commit 09be7131cc

View File

@@ -187,11 +187,10 @@ const GlobalStyle = createGlobalStyle`
// scrollbar styling
// the below media query target non-macos devices
// (macos scrollbar styling is the ideal style reference)
// the below media query targets non-touch devices
@media not all and (pointer: coarse) {
* {
scrollbar-color: ${(props) => props.theme.scrollbar.color};
scrollbar-color: ${(props) => props.theme.scrollbar.color} transparent;
}
*::-webkit-scrollbar {