Skip to content

Commit

Permalink
Merge ce9944b into 26b2623
Browse files Browse the repository at this point in the history
  • Loading branch information
SisIvanova committed May 10, 2024
2 parents 26b2623 + ce9944b commit 2dd0707
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@use 'styles/utilities' as *;
@use '../light/themes' as *;

$theme: $indigo;

:host {
--diameter: 48px;
}

[part~='label'] {
@include type-style('subtitle-2');

color: var-get($theme, 'text-color');
}

[part~='fill'] {
stroke-width: calc(var(--stroke-thickness) + rem(1px));
}
5 changes: 3 additions & 2 deletions src/components/progress/themes/circular/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { styles as sharedLight } from './light/circular.progress.shared.css.js';
// Shared Styles
import { styles as bootstrap } from './shared/circular.progress.bootstrap.css.js';
import { styles as fluent } from './shared/circular.progress.fluent.css.js';
import { styles as indigo } from './shared/circular.progress.indigo.css.js';

const light = {
shared: css`
Expand All @@ -31,7 +32,7 @@ const light = {
${fluent} ${fluentLight}
`,
indigo: css`
${indigoLight}
${indigo} ${indigoLight}
`,
};

Expand All @@ -49,7 +50,7 @@ const dark = {
${fluent} ${fluentDark}
`,
indigo: css`
${indigoDark}
${indigo} ${indigoDark}
`,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ $theme: $indigo;
$stripe-size: rem(6px);
$stripe-space: rem(14px);

:host {
gap: rem(4px);
}

[part~='value'] {
@include type-style('subtitle-2');
}

[part~='striped']:not([part~='indeterminate']) {
/* stylelint-disable */
background: var-get($theme, 'fill-color-default') repeating-linear-gradient(
Expand Down

0 comments on commit 2dd0707

Please sign in to comment.