From e3c6467ab9cb78ab0a3f6f5c157ebc7a3c9aecdd Mon Sep 17 00:00:00 2001 From: 3geek14 Date: Tue, 5 Sep 2023 22:00:14 -0400 Subject: [PATCH] [Docs] Improve contrast for warnings in dark mode (#21928) --- docs/qmk_custom_dark.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/qmk_custom_dark.css b/docs/qmk_custom_dark.css index 35498fbd8636..ffa5539922a5 100644 --- a/docs/qmk_custom_dark.css +++ b/docs/qmk_custom_dark.css @@ -2,9 +2,13 @@ background-color: #555; } -.markdown-section p.tip, .markdown-section tr:nth-child(2n) { - background-color:#444; + background-color:#444; +} + +.markdown-section p.tip { + background-color:#555; + color:#FFF; } .markdown-section tr { @@ -16,7 +20,7 @@ } .markdown-section p.tip code { - background-color: #555; + background-color: #333; color: #fff; }