From e3fb92508f4b7725340f5d33ed59f217c397632e Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Sun, 7 Aug 2022 13:34:19 +0200 Subject: [PATCH] fix: :lipstick: fix text highlights not being legible in dark mode --- webapp/CHANGELOG.md | 3 ++- webapp/src/lib/marked/renderers/Highlight.svelte | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/CHANGELOG.md b/webapp/CHANGELOG.md index c5807c8..f02cd68 100644 --- a/webapp/CHANGELOG.md +++ b/webapp/CHANGELOG.md @@ -2,7 +2,8 @@ ## [2022-08-07] -- fix: 🐛 code blocks no longer render as "undefined" for unregistered languages (e.g. Dataview or Toggl query blocks) +- fix: 🐛 text highlights (`==highlight==` syntax) are now more legibile in dark mode. +- fix: 🐛 code blocks no longer render as "undefined" for unregistered languages (e.g. Dataview or Toggl query blocks). ## [2022-08-06] diff --git a/webapp/src/lib/marked/renderers/Highlight.svelte b/webapp/src/lib/marked/renderers/Highlight.svelte index 9d21975..ed0095c 100644 --- a/webapp/src/lib/marked/renderers/Highlight.svelte +++ b/webapp/src/lib/marked/renderers/Highlight.svelte @@ -2,4 +2,4 @@ export let text: string; -{text} +{text}