:host-context(.pref-contrast-more),
:host-context(.pref-contrast-more):host([variant="primary"]) {
  --mds-progress-color: theme('colors.variant-primary-05');
  --mds-progress-background: theme('colors.tone-neutral-07');
}

@media (prefers-contrast: more) {
  :host-context(.pref-contrast-system),
  :host-context(.pref-contrast-more):host([variant="primary"]) {
    --mds-progress-color: theme('colors.variant-primary-05');
    --mds-progress-background: theme('colors.tone-neutral-07');
  }
}
