Skip to content

Commit 712a57f

Browse files
zonemeenbrc-dd
andauthored
fix(theme): fix color of blockquote in custom containers (#2173)
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 parent 6d363ec commit 712a57f

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

src/client/theme-default/styles/components/custom-block.css

+4-18
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
background-color: var(--vp-custom-block-info-bg);
1414
}
1515

16-
.custom-block.info th {
17-
color: var(--vp-custom-block-info-text);
16+
.custom-block.custom-block th,
17+
.custom-block.custom-block blockquote > p {
18+
font-size: var(--vp-custom-block-font-size);
19+
color: inherit;
1820
}
1921

2022
.custom-block.info code {
@@ -27,10 +29,6 @@
2729
background-color: var(--vp-custom-block-tip-bg);
2830
}
2931

30-
.custom-block.tip th {
31-
color: var(--vp-custom-block-tip-text);
32-
}
33-
3432
.custom-block.tip code {
3533
background-color: var(--vp-custom-block-tip-code-bg);
3634
}
@@ -41,10 +39,6 @@
4139
background-color: var(--vp-custom-block-warning-bg);
4240
}
4341

44-
.custom-block.warning th {
45-
color: var(--vp-custom-block-warning-text);
46-
}
47-
4842
.custom-block.warning code {
4943
background-color: var(--vp-custom-block-warning-code-bg);
5044
}
@@ -55,10 +49,6 @@
5549
background-color: var(--vp-custom-block-danger-bg);
5650
}
5751

58-
.custom-block.danger th {
59-
color: var(--vp-custom-block-danger-text);
60-
}
61-
6252
.custom-block.danger code {
6353
background-color: var(--vp-custom-block-danger-code-bg);
6454
}
@@ -69,10 +59,6 @@
6959
background-color: var(--vp-custom-block-details-bg);
7060
}
7161

72-
.custom-block.details th {
73-
color: var(--vp-custom-block-details-text);
74-
}
75-
7662
.custom-block.details code {
7763
background-color: var(--vp-custom-block-details-code-bg);
7864
}

0 commit comments

Comments
 (0)