Skip to content
PWA

PWA

Opt-in Progressive Web App support: an offline service worker, a generated manifest, and generated icons from a single source image.

blogTheme({
  pwa: {
    themeColor: "#fbfbfc",
    backgroundColor: "#fbfbfc",
  },
})

When enabled, the integration:

  • generates /manifest.webmanifest
  • generates the icon set from your source image
  • writes an offline-capable service worker that precaches the built pages
Keep the source icon simple and high-contrast — it gets downscaled to very small sizes (16×16, 32×32) for favicons.