Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 01:24
· 2 commits to main since this release

Dark mode

  • theme="dark", or "auto" to follow the OS / browser setting (prefers-color-scheme): bars, toolbar, menus, dialogs, sheet headers and tabs, thumbnails and popovers darken. Pages, slides and cells keep the colors the document gives them.
  • Script embed: <office-viewer theme="dark"> and mount(el, { theme: 'dark' }).
  • The palette is CSS variables on .de-root; add de-dark to the root element when composing your own UI from the views.

Full Changelog: v0.1.0...v0.4.0