beets icon indicating copy to clipboard operation
beets copied to clipboard

Sample colors should be consistent

Open khaki32 opened this issue 2 years ago • 1 comments

If a project is small enough for this to be reasonable, each color in a track preview should only be linked to one sample. Screenshot 2022-04-30 21 15 32 Here it looks like there's only one sample in Drums, but there's actually two. That can be a little confusing.

khaki32 avatar Apr 30 '22 19:04 khaki32

Ah, yeah, I figured this would happen from time to time. I only picked a small set of colors from the Evergreen theme that were easy to see on the card background to map by the file/sample id in src/utils/theme-utils.ts

This list could be expanded to include non-Evergreen shades or a more sophisticated hashing algorithm could be used to reduce collisions - open to ideas! 😄

brandongregoryscott avatar May 01 '22 15:05 brandongregoryscott