diff --git a/src/client/theme-default/styles/components/custom-block.css b/src/client/theme-default/styles/components/custom-block.css index 4d900c58..373b3a3a 100644 --- a/src/client/theme-default/styles/components/custom-block.css +++ b/src/client/theme-default/styles/components/custom-block.css @@ -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); }