diff --git a/theme/layouts/center.vue b/theme/layouts/center.vue index 9eab593..916556d 100644 --- a/theme/layouts/center.vue +++ b/theme/layouts/center.vue @@ -9,9 +9,13 @@ const props = defineProps({ type: String, default: undefined, }, + dim: { + type: Boolean, + default: true, + }, }) -const style = computed(() => handleBackground(props.background, true)) +const style = computed(() => handleBackground(props.background, props.dim))