Presentaties via reveal.js met thema gebaseerd op Amsterdam Design System
  • JavaScript 33.7%
  • HTML 31.4%
  • CSS 29.4%
  • Shell 5.5%
Find a file
2026-11-25 14:25:49 +01:00
presentations update presentatie 2026-11-25 14:25:49 +01:00
.gitignore Initial commit 2026-11-25 09:48:05 +00:00
amsterdam.css ADS-ify 2026-11-25 11:09:47 +01:00
beeldmerk.svg ADS-ify 2026-11-25 11:09:47 +01:00
bronnen-presentatie-templates.md Initial commit 2026-11-25 09:48:05 +00:00
export-pdf.mjs Initial commit 2026-11-25 09:48:05 +00:00
fundament.drawio.png fix presentation 2026-11-25 13:46:07 +01:00
index.html ADS-ify 2026-11-25 11:09:47 +01:00
LICENSE Initial commit 2026-11-25 09:48:05 +00:00
merge-pdf.mjs ADS-ify 2026-11-25 11:09:47 +01:00
package-lock.json ADS-ify 2026-11-25 11:09:47 +01:00
package.json ADS-ify 2026-11-25 11:09:47 +01:00
README.md add presentation for fieldlab hackathon 2026-11-25 11:13:28 +01:00
render-pdf.js Initial commit 2026-11-25 09:48:05 +00:00
render-potx-lo.sh Initial commit 2026-11-25 09:48:05 +00:00
render-potx.js Initial commit 2026-11-25 09:48:05 +00:00
screenshot.js Initial commit 2026-11-25 09:48:05 +00:00

reveal-ams

A reveal.js theme styled with the Amsterdam Design System. It keeps the existing 16:9 slide layouts and their class names.

beeldmerk.svg contains the official Amsterdam logo from the Design System assets for decks that need it; the theme does not insert it automatically. Use City of Amsterdam branding only when authorized. The PowerPoint comparison tools are legacy-only.

Use

Load the Amsterdam Design System font, CSS and tokens before the theme:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reveal.js@5/dist/reveal.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reveal.js@5/dist/reset.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@amsterdam/design-system-assets@2.7.0/font/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@amsterdam/design-system-css@4.5.0/dist/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@amsterdam/design-system-tokens@4.4.0/dist/index.css">
<link rel="stylesheet" href="amsterdam.css">

Add class="ams-body" to the document body. Official Amsterdam branding assets are subject to the City of Amsterdam's usage conditions; only use them when you are authorized to do so.

index.html is a demo deck that shows every layout. Open it in a browser, or serve the folder with python3 -m http.server.

Presentations live in presentations/, including the Fundament presentation.

A slide picks its layout with a class on the <section>, for example title-white, chapter or quote-photo. The demo deck lists them all.

Export to PDF

npm install
node export-pdf.mjs <deck.html> <empty-outdir>   # one vector PDF per slide
node merge-pdf.mjs <outdir> <deck.pdf> "<title>" ["<author>"]

Run export-pdf.mjs from the folder that holds the deck. It renders the screen view, so the PDF matches the slides. Use a fresh, empty output folder: merge-pdf.mjs merges every PDF it finds there. Set PUPPETEER_EXECUTABLE_PATH to use a system Chrome or Chromium.

render-pdf.js is the simpler alternative through reveal's own print mode.

Legacy Rijksoverheid comparison tools

render-potx.js and render-potx-lo.sh render the layouts of a .potx template to PNG. These scripts and bronnen-presentatie-templates.md relate to the theme's former Rijksoverheid styling; they do not compare against the current Amsterdam Design System theme. The templates are distributed through rijkshuisstijl.nl (login required).

Licence

EUPL-1.2. The licence covers the code in this repository, not third-party assets or branding.