Checking the (output) source for your portal, the "@primaryMedium" part is being shown as-it-is. That could be because the template (module?) is not being compiled. The style properties are changed to native php code when a template is compiled. So if that step is skipped, you won't be able to take advantage of the color palette or style properties.