Skip to content

Commit aa0534e

Browse files
Inherit color on smaller elements
Signed-off-by: Anatoli Nicolae <an@thundersquared.com>
1 parent f66d1d8 commit aa0534e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

demo/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Note adds a note in the content `python`
100100
</Note>
101101
<Warning>
102102

103-
Warning raises a warning to watch out for `python`
103+
Warning raises a warning to watch out for `python` [demo](#)
104104

105105
</Warning>
106106

src/components/Callouts/Callout.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ const icon = computed(() => icons[props.level])
6969
margin-bottom: 0;
7070
}
7171
72+
.callout .callout-body a,
73+
.callout .callout-body code {
74+
color: inherit;
75+
}
76+
7277
.callout.info {
7378
background-color: var(--vp-custom-block-info-bg);
7479
color: var(--vp-custom-block-info-text);

0 commit comments

Comments
 (0)