It’s probably related to the switch from SCSS to CSS variables for color declarations. Assigning $header_primary in custom css doesn’t work, but if you use
.custom-header-links .headerLink a {
color: var(--header_primary);
}
the color gets picked up correctly.