Skip to content

Commit 874e059

Browse files
committed
fix: distinguish blockquote and code
By making blockquotes look like Info
1 parent 9816cb5 commit 874e059

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

components/content/Info.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<template>
2-
<blockquote class="border-l-4 border-(--secondary)">
3-
<slot />
4-
</blockquote>
5-
</template>
2+
<ProseBlockquote><slot /></ProseBlockquote>
3+
</template>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script setup lang="ts">
2+
defineProps({
3+
borderColorClass: { type: String, default: 'border-(--secondary)' }
4+
});
5+
</script>
6+
7+
<template>
8+
<blockquote class="border-l-4" :class="borderColorClass">
9+
<slot />
10+
</blockquote>
11+
</template>

0 commit comments

Comments
 (0)