Mostly audio stuff

This commit is contained in:
Dan 2025-12-13 15:17:46 +00:00
parent bdd00ec9e8
commit 2f5f4dbea4
28 changed files with 811 additions and 710 deletions

View file

@ -62,3 +62,34 @@ $breakpoints: (
}
}
}
@mixin scrollbar-custom(
$color: greenyellow,
$width: 8px,
$track-bg: transparent
) {
scrollbar-color: $color $track-bg;
scrollbar-width: thin;
&::-webkit-scrollbar {
width: $width;
}
&::-webkit-scrollbar-track {
background: $track-bg;
}
&::-webkit-scrollbar-thumb {
background-color: $color;
border-radius: calc($width / 2);
}
&::-webkit-scrollbar-thumb:hover {
background-color: darken($color, 10%);
}
}
// Usage
.scrollable-child {
@include scrollbar-custom(greenyellow, 10px);
}