From 51ecd580a29d9e2bea73d4d5897154954d750d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=83=BD=E5=AE=81?= Date: Wed, 29 Mar 2023 16:51:46 +0800 Subject: [PATCH] fix(theme): fix color of table head row in custom containers (#2160) --- .../styles/components/custom-block.css | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/client/theme-default/styles/components/custom-block.css b/src/client/theme-default/styles/components/custom-block.css index aa18178d..4d900c58 100644 --- a/src/client/theme-default/styles/components/custom-block.css +++ b/src/client/theme-default/styles/components/custom-block.css @@ -13,6 +13,10 @@ background-color: var(--vp-custom-block-info-bg); } +.custom-block.info th { + color: var(--vp-custom-block-info-text); +} + .custom-block.info code { background-color: var(--vp-custom-block-info-code-bg); } @@ -23,6 +27,10 @@ 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); } @@ -33,6 +41,10 @@ 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); } @@ -43,6 +55,10 @@ 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); } @@ -53,6 +69,10 @@ 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); }