Skip to content

Releases: openpatch/sql-ide

v2.0.0-hyperbook.4

Choose a tag to compare

@mikebarkmin mikebarkmin released this 11 Aug 19:12
8a539ff
hyperbook: follow the page's dark-mode-toggle

A hyperbook carries a <dark-mode-toggle> its reader can flip, and an IDE
embedded in the page should be in the same colours as the text around it
rather than a dark rectangle in a light page.

With no `theme` in the config, the theme now comes from that element -
its `mode` property, falling back to the attribute for the moment before
the custom element has been upgraded - and follows it live through the
component's `colorschemechange` event, so flipping the toggle re-themes
the IDE without a reload. It re-reads once whenDefined() resolves as
well, so a toggle whose script loads after the IDE still gets honoured.

An explicitly configured theme still wins, and a page with no toggle
says nothing about its colours, so the IDE stays dark there.

v2.0.0-hyperbook.3

Choose a tag to compare

@mikebarkmin mikebarkmin released this 27 Apr 11:45
ee2883b

v2.0.0-hyperbook.2

Choose a tag to compare

@mikebarkmin mikebarkmin released this 13 Feb 16:51
5995d54
use new structure

v2.0.0-hyperbook.1

Choose a tag to compare

@mikebarkmin mikebarkmin released this 13 Feb 09:46
9dd7432
use hyperbook dexie db

v2.0.0

Choose a tag to compare

@mikebarkmin mikebarkmin released this 08 Feb 16:26
30a379c
add lock file