The text of web embeds on Canvas sometimes takes on low-contrast color in dark mode

I have observed an issue with the canvas feature. It appears that the background color of some websites is subordinate to the canvas background, so that when the base color scheme setting is dark, the page is typically not readable.

This is reproducible in restricted mode with all custom CSS disabled.

Steps to reproduce

Expected result

The webview foreground is readable against the background.

Actual result

The background takes on the dark mode background color, almost as though the webview itself is transparent.

Environment

  • Operating system: MacOS 12.3.1
  • Debug info:
SYSTEM INFO:
	Obsidian version: v1.1.12
	Installer version: v0.15.9
	Operating system: Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 21.4.0
	Login status: logged in
	Catalyst license: supporter
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

1 Like

Thanks, reproduced this!

1 Like

we believe this to be a specific problem of OpenAPI doc, not something we want to change.