/**
 * @license
 * Copyright 2020 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

@use 'sass:map';
@use '@material/circular-progress' as circularprogress;
@use '@material/theme/css';
@use '@material/theme/theme-color';

$light-theme: (
  bar-color: theme-color.prop-value(primary),
  track-color: transparent,
);

@mixin theme($theme: $light-theme) {
  @include css.declaration(--mdc-theme-primary, map.get($theme, bar-color));
  @include css.declaration(
    --mdc-circular-progress-track-color,
    map.get($theme, track-color)
  );
}
