Измените BG-Color All Class

var elements = document.getElementsByClassName('casd'); // get all elements
	for(var i = 0; i < elements.length; i++){
		
		elements[i].classList.toggle("bg-primary");
	}
Xanthous Xenomorph