From 6369d76a748fa919c9d26b30aa7d08e5e2519867 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 27 Jan 2017 18:18:14 +0100 Subject: [PATCH] poor man's dark theme for MD codeblocks --- src/skins/vector/css/themes/_dark.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/skins/vector/css/themes/_dark.scss b/src/skins/vector/css/themes/_dark.scss index f00578cdf..cf6d6effb 100644 --- a/src/skins/vector/css/themes/_dark.scss +++ b/src/skins/vector/css/themes/_dark.scss @@ -115,3 +115,12 @@ $progressbar-color: #000; .gm-scrollbar .thumb { filter: invert(); } + +.mx_EventTile_content .markdown-body pre, +.mx_EventTile_content .markdown-body code { + filter: invert(); +} + +.mx_EventTile_content .markdown-body pre code { + filter: none; +} \ No newline at end of file