Repository navigation
Releases
0.1.3
Dark Reader for Web Viewer 0.1.3
Requires: Obsidian 1.8.3 or later, desktop only, with the Web viewer core plugin turned on.
Fixes
- Light Obsidian now shows light pages on a dark system. Web viewer pages follow the system's light or dark preference, so with macOS in dark mode, sites like GitHub served their dark design even while Obsidian was light, and stayed dark. While pages are themed, they now prefer a light scheme, so they match Obsidian's light colors too. Obsidian and the system setting are not affected, and pages follow the system again when theming is off.
Includes the 0.1.2 changes: no script elements, and a manifest description without the word "Obsidian".
0.1.2
Dark Reader for Web Viewer 0.1.2
Requires: Obsidian 1.8.3 or later, desktop only, with the Web viewer core plugin turned on.
Fixes
- No script elements. Dark Reader started its stylesheet proxy by inserting an inline
<script>into each page. The plugin now calls it directly, which plugin review requires. It also means the proxy now runs on sites whose security policy blocks inline scripts, such as GitHub, so their styles are recolored more completely. - The manifest description no longer includes the word "Obsidian".
0.1.1
Dark Reader for Web Viewer 0.1.1
Dark Reader for Obsidian's built-in Web viewer: web pages take your theme's background, text color and font, in dark mode and in light.
Requires: Obsidian 1.8.3 or later, desktop only, with the Web viewer core plugin turned on. Bundles Dark Reader 4.9.133. Tested on Obsidian 1.14.4 (macOS).
Features
- Matches your theme exactly. Page backgrounds and text become your theme's
--background-primaryand--text-normal. Links, buttons and accents keep their colors. - Dark and light. Pages follow Obsidian as you switch light/dark, change themes or toggle snippets, with no reload.
- Match Obsidian font (optional). Pages use your theme's text font, including fonts the theme embeds, even on sites with strict security policies. Code and icon fonts are left alone.
- No white flash. Pages are painted in your colors from the moment they start loading.
- Works in every Web viewer tab, including popout windows, and after every navigation.
- Brightness, contrast and sepia sliders, plus commands to toggle and reapply.
- Dark Reader is bundled. Nothing is downloaded at run time.
Fixed since the initial code
- Links, buttons and panels were flattened to the body text color. Colors now come from Dark Reader itself.
- Switching Obsidian between light and dark left pages in the old colors.
- Toggling off failed after in-page navigation on single-page sites such as GitHub and YouTube.
- Settings changed while a page was loading were dropped, and color changes were ignored in pages already open.
- Every navigation showed the bright, unthemed page for about a second.
- Disabling or updating the plugin could leave pages dark.
- Light themes with a pure white background came out gray at the default contrast.
Release files
main.js and manifest.json are built from this tag by GitHub Actions, with build provenance attested.
Known limitations
- Images are not recolored, so a dark logo can be hard to see on a dark page.
- Below about 80% contrast, very dark themes come out slightly lighter.
- Fonts must be installed on the system or embedded in the theme.
- The Web viewer is not a public plugin API, so a future Obsidian update may need a plugin update.
- Not tested on Windows or Linux.
0.1.0
Dark Reader for Web Viewer 0.1.0
First release. Dark Reader for Obsidian's built-in Web viewer: web pages take your theme's background, text color and font, in dark mode and in light.
Requires: Obsidian 1.8.3 or later, desktop only, with the Web viewer core plugin turned on. Bundles Dark Reader 4.9.133. Tested on Obsidian 1.14.4 (macOS).
Features
- Matches your theme exactly. Page backgrounds and text become your theme's
--background-primaryand--text-normal. Links, buttons and accents keep their colors. - Dark and light. Pages follow Obsidian as you switch light/dark, change themes or toggle snippets, with no reload.
- Match Obsidian font (optional). Pages use your theme's text font, including fonts the theme embeds, even on sites with strict security policies. Code and icon fonts are left alone.
- No white flash. Pages are painted in your colors from the moment they start loading.
- Works in every Web viewer tab, including popout windows, and after every navigation.
- Brightness, contrast and sepia sliders, plus commands to toggle and reapply.
- Dark Reader is bundled. Nothing is downloaded at run time.
Fixed since the initial code
- Links, buttons and panels were flattened to the body text color. Colors now come from Dark Reader itself.
- Switching Obsidian between light and dark left pages in the old colors.
- Toggling off failed after in-page navigation on single-page sites such as GitHub and YouTube.
- Settings changed while a page was loading were dropped, and color changes were ignored in pages already open.
- Every navigation showed the bright, unthemed page for about a second.
- Disabling or updating the plugin could leave pages dark.
- Light themes with a pure white background came out gray at the default contrast.
Known limitations
- Images are not recolored, so a dark logo can be hard to see on a dark page.
- Below about 80% contrast, very dark themes come out slightly lighter.
- Fonts must be installed on the system or embedded in the theme.
- The Web viewer is not a public plugin API, so a future Obsidian update may need a plugin update.
- Not tested on Windows or Linux.