The sidebar iframe on the docs pages uses the browser's light/dark mode setting, instead of inheriting the setting from the rest of the site. 