From bd4ea27cb6872f18f2704d1fd4ba2eb7e46397ce Mon Sep 17 00:00:00 2001 From: Olexii Bulhakov Date: Fri, 26 Jan 2024 18:13:04 +0200 Subject: [PATCH] Added inverting svg colors in dark mode --- docs/_sass/custom/custom.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss index 2516d8a..9159c8c 100644 --- a/docs/_sass/custom/custom.scss +++ b/docs/_sass/custom/custom.scss @@ -14,6 +14,10 @@ img { img[src$="gh-light-mode-only"] { display: none; } + img[src$=".svg"] { + -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */ + filter: invert(100%); + } } // Styling tables