Add css class to component

Hello, I’m making a web that needs a lot of sliders and want to change the colours of some to make it more readable, is there any way to refer specific components? Something that could be used like a CSS class or id, until now the only thing I came up with is putting some inside beta columns so I can use div[data-testid=‘stBlock’] div[role=‘slider’]{} in markdown but seems somewhat messy since I can’t refer anything specific if I want three colors I have to put a column inside a column.