fix(theme): fix color of blockquote in custom containers (#2173)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/2226/head
烽宁 2 years ago committed by GitHub
parent 6d363ec9ff
commit 712a57fde7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,8 +13,10 @@
background-color: var(--vp-custom-block-info-bg);
}
.custom-block.info th {
color: var(--vp-custom-block-info-text);
.custom-block.custom-block th,
.custom-block.custom-block blockquote > p {
font-size: var(--vp-custom-block-font-size);
color: inherit;
}
.custom-block.info code {
@ -27,10 +29,6 @@
background-color: var(--vp-custom-block-tip-bg);
}
.custom-block.tip th {
color: var(--vp-custom-block-tip-text);
}
.custom-block.tip code {
background-color: var(--vp-custom-block-tip-code-bg);
}
@ -41,10 +39,6 @@
background-color: var(--vp-custom-block-warning-bg);
}
.custom-block.warning th {
color: var(--vp-custom-block-warning-text);
}
.custom-block.warning code {
background-color: var(--vp-custom-block-warning-code-bg);
}
@ -55,10 +49,6 @@
background-color: var(--vp-custom-block-danger-bg);
}
.custom-block.danger th {
color: var(--vp-custom-block-danger-text);
}
.custom-block.danger code {
background-color: var(--vp-custom-block-danger-code-bg);
}
@ -69,10 +59,6 @@
background-color: var(--vp-custom-block-details-bg);
}
.custom-block.details th {
color: var(--vp-custom-block-details-text);
}
.custom-block.details code {
background-color: var(--vp-custom-block-details-code-bg);
}

Loading…
Cancel
Save