Skip to content
12 changes: 9 additions & 3 deletions libs/core/src/components/pds-progress/pds-progress.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
:host {
--color-progress-fill: var(--pine-color-brand);
--progress-gradient-start: var(--pine-color-red-300);
--progress-gradient-end: var(--pine-color-brand);

--sizing-progress-bar-width: 100%;

Expand Down Expand Up @@ -44,15 +45,20 @@ progress::-webkit-progress-bar {
}

progress::-webkit-progress-value {
background-color: var(--color-progress-fill, var(--pine-color-brand));
background: linear-gradient(to right, var(--progress-gradient-start), var(--progress-gradient-end));
border-radius: var(--pine-dimension-2xs);
}

progress::-moz-progress-bar {
background-color: var(--color-progress-fill, var(--pine-color-brand));
background: linear-gradient(to right, var(--progress-gradient-start), var(--progress-gradient-end));
border-radius: var(--pine-dimension-2xs);
}

:host([fill-color]:not([fill-color=""])) progress::-webkit-progress-value,
:host([fill-color]:not([fill-color=""])) progress::-moz-progress-bar {
background: var(--color-progress-fill);
}

.pds-progress__label {
border: 0;
clip: rect(0 0 0 0);
Expand Down
Loading