Skip to content

Commit a817ec7

Browse files
committed
style: match step sequencer scrollbar styling
1 parent 827516f commit a817ec7

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/features/drum-sequencer/DrumSequencer.module.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,28 @@
5858
gap: var(--space-gutter);
5959
overflow-x: auto;
6060
padding: var(--space-panel);
61+
scrollbar-color: var(--color-primary-container) var(--color-surface-container-lowest);
62+
scrollbar-width: thin;
63+
}
64+
65+
.sequencer::-webkit-scrollbar {
66+
height: 10px;
67+
width: 10px;
68+
}
69+
70+
.sequencer::-webkit-scrollbar-track {
71+
background: var(--color-surface-container-lowest);
72+
border-top: 1px solid var(--color-outline-variant);
73+
}
74+
75+
.sequencer::-webkit-scrollbar-thumb {
76+
background: var(--color-primary-container);
77+
border: 2px solid var(--color-surface-container-lowest);
78+
border-radius: var(--radius-md);
79+
}
80+
81+
.sequencer::-webkit-scrollbar-thumb:hover {
82+
background: var(--color-primary);
6183
}
6284

6385
.beatHeader,

0 commit comments

Comments
 (0)