Repository navigation
v0.4.0
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">andmount(el, { theme: 'dark' }). - The palette is CSS variables on
.de-root; addde-darkto the root element when composing your own UI from the views.
Full Changelog: v0.1.0...v0.4.0