Bootstrap theme:
Sample IIIF manifests:
Unable to load
@micropasts/iiif-viewer
Initializing…
Package & resource
Package: @micropasts/iiif-viewer@1.0.13
Loaded resource: None
Canvases: —
Bootstrap CSS custom properties
Viewer tokens inherit from the host into its Shadow DOM. The viewer's dark-mode button and these presets stay in sync; switching back to light restores the last light preset.
#iiif-viewer-root {
--iiif-bg: var(--bs-body-bg);
--iiif-surface: var(--bs-body-bg);
--iiif-surface-muted: var(--bs-secondary-bg);
--iiif-text: var(--bs-body-color);
--iiif-text-muted: var(--bs-secondary-color);
--iiif-border: var(--bs-border-color);
--iiif-radius: var(--bs-border-radius);
--iiif-accent: var(--bs-primary);
--iiif-accent-hover: var(--bs-primary-text-emphasis);
--iiif-accent-contrast: #fff;
}