• CSS 92%
  • JavaScript 7.9%
  • HTML 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-24 16:00:02 +02:00
fonts Add roboto font 2026-07-20 14:38:42 +02:00
docinfo-footer.html Rename file 2026-07-20 23:07:52 +02:00
favicon.png Re-add favicon 2026-07-20 15:09:01 +02:00
isaqb-theme.css Remove dead code 2026-07-21 16:44:07 +02:00
isaqb-theme.js Add support for dark theme specific images 2026-07-24 16:00:02 +02:00
README.md Add support for dark theme specific images 2026-07-24 16:00:02 +02:00

html-theme

HTML Theme for all asciidoc files

Themed images

Add role=theme-swap (AsciiDoc) or class="theme-swap" (HTML) to an image and provide a dark variant named <name>-dark.<ext> next to it. In dark mode the theme loads the dark variant automatically.

This works for link-based image builds only. Curriculum HTML built with -a data-uri inlines images as base64, so there is no filename to rewrite and the swap is a no-op.