Skip to content

Commit 3cf0ebe

Browse files
authored
Fix colorful showing as a light background (#208)
1 parent 3d34732 commit 3cf0ebe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

components/Block/Paper.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ autoApply(`[data-block-id="${props.uuid}"]`, refresh);
3232
</script>
3333

3434
<template>
35-
<ThemeProvider
36-
v-if="block"
37-
:variant="['dark-night', 'colorful', 'primary', 'image'].includes(block.background) ? 'dark' : null"
38-
>
35+
<ThemeProvider v-if="block" :variant="['dark-night', 'primary', 'image'].includes(block.background) ? 'dark' : null">
3936
<div
4037
class="block-paper"
4138
:class="[`padding-${block.padding}`, `bg-${block.background}`]"

0 commit comments

Comments
 (0)