.primary represents the default foreground color of a view. It adapts based on the environment, like the system's appearance (light or dark mode) and accessibility settings. ex - Text("Hello, World!") .foregroundColor(.primary)
.secondary is a less prominent foreground color for content that is of secondary importance or less emphasis than .primary.
ex- Text("Secondary Information") .foregroundColor(.secondary)