changing hardcoded primary color values over to a variable