removes undefined color variables from primary nav component