diff --git a/frontend/src/components/TrackList.tsx b/frontend/src/components/TrackList.tsx index 883e349..f6c8538 100644 --- a/frontend/src/components/TrackList.tsx +++ b/frontend/src/components/TrackList.tsx @@ -327,8 +327,8 @@ export function TrackList({
Check Availability
diff --git a/frontend/src/index.css b/frontend/src/index.css index 2f74792..1923432 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -196,3 +196,51 @@ .dark [data-sonner-toast][data-type="info"] [data-icon] { @apply text-blue-400; } + +/* Custom Scrollbar - mengikuti primary color theme */ +::-webkit-scrollbar { + width: 8px; + height: 8px; +} + +::-webkit-scrollbar-track { + background: var(--secondary); + border-radius: 4px; +} + +::-webkit-scrollbar-thumb { + background: var(--primary); + border-radius: 4px; + opacity: 0.7; +} + +::-webkit-scrollbar-thumb:hover { + background: var(--primary); + filter: brightness(1.2); +} + +/* Firefox scrollbar support */ +* { + scrollbar-width: thin; + scrollbar-color: var(--primary) var(--secondary); +} + +/* Custom scrollbar class untuk komponen tertentu */ +.custom-scrollbar::-webkit-scrollbar { + width: 6px; + height: 6px; +} + +.custom-scrollbar::-webkit-scrollbar-track { + background: var(--muted); + border-radius: 3px; +} + +.custom-scrollbar::-webkit-scrollbar-thumb { + background: var(--primary); + border-radius: 3px; +} + +.custom-scrollbar::-webkit-scrollbar-thumb:hover { + filter: brightness(1.2); +}