modify select attribute for dark and light