Change button colors as slides change

Hello! Can you please help me change the border color and not the background? I can’t get it to work :‘(