diff --git a/webapp/components/ProgressBar/ProgressBar.vue b/webapp/components/ProgressBar/ProgressBar.vue index dd904e5b1..41183b798 100644 --- a/webapp/components/ProgressBar/ProgressBar.vue +++ b/webapp/components/ProgressBar/ProgressBar.vue @@ -2,7 +2,10 @@
-
+
{{ label }}
@@ -14,6 +17,8 @@ @@ -66,15 +76,22 @@ export default { left: 0px; height: 26px; // styleguide-button-size max-width: 100%; - background: repeating-linear-gradient( - 120deg, - $color-primary 0px, - $color-primary 30px, - $color-primary-light 50px, - $color-primary-light 75px, - $color-primary 95px - ); border-radius: $border-radius-base; + + &.color-uni { + background: $color-primary-light; + } + + &.color-repeating-linear-gradient { + background: repeating-linear-gradient( + 120deg, + $color-primary 0px, + $color-primary 30px, + $color-primary-light 50px, + $color-primary-light 75px, + $color-primary 95px + ); + } } .progress-bar__border { diff --git a/webapp/constants/donation.js b/webapp/constants/donation.js new file mode 100644 index 000000000..3e36ae9a8 --- /dev/null +++ b/webapp/constants/donation.js @@ -0,0 +1 @@ +export const PROGRESS_BAR_COLOR_TYPE = 'gradient' // 'uni' is the other option