Aykut Saraç 3 роки тому
батько
коміт
1610a5201b
1 змінених файлів з 11 додано та 0 видалено
  1. 11 0
      src/constants/globalStyle.ts

+ 11 - 0
src/constants/globalStyle.ts

@@ -12,6 +12,17 @@ const GlobalStyle = createGlobalStyle`
     font-size: 16px;
   }
 
+
+  ::-webkit-scrollbar {
+    width: 8px;
+    background: ${({ theme }) => theme.BLACK_SECONDARY};
+  }
+
+  ::-webkit-scrollbar-thumb {
+    border-radius: 5px;
+    background-color: ${({ theme }) => theme.SILVER_DARK};
+  }
+
   a {
     text-decoration: none;
     color: unset;