Sequence Diagram 'notes' in dark-more render with unreadable colour scheme

Steps to reproduce

  1. Create a mermaid sequence diagram
  2. Create two participants
  3. Add notes to each participant (or just one)
  4. View in Reading mode

Example code to use for rendering:

sequenceDiagram
	participant A as Alice
	participant B as Bob

	note over B: IP: a.b.c.d
	note over A: IP: w.x.y.z

	A->>+B: Hello, Bob

Expected result

Notes with a light-text colour on a dark background (similar to the participants’ colour scheme)

Actual result

Light text on light background that is barely legible

obsidian-sequenceDiagram-bug

Environment

  • Operating system: Windows 11 Enterprise
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.13.23
	Installer version: v0.13.19
	Operating system: Windows 10 Enterprise 10.0.22000
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Safe mode: on

RECOMMENDATIONS:
	none

Note: the above debug info is incorrect when displaying the Operating system. I am in fact on Windows 11.


Additional information

N/A

1 Like

thanks