diff --git a/src/additional-components/Background/Background.vue b/src/additional-components/Background/Background.vue index 8fc8bb80..41d3c341 100644 --- a/src/additional-components/Background/Background.vue +++ b/src/additional-components/Background/Background.vue @@ -39,6 +39,7 @@ const background = computed(() => { // when there are multiple flows on a page we need to make sure that every background gets its own pattern. const patternId = `pattern-${Math.floor(Math.random() * 100000)}` +const bgColor = computed(() => (props.color ? props.color : defaultColors[props.variant || BackgroundVariant.Dots]))