-- Pick a tag/commit hash! Freeze it too!
let WebAppManifest =
https://gitlab.com/toastal/dhall-webmanifest/raw/trunk/src/WebAppManifest.dhall sha:…
? https://git.sr.ht/~toastal/dhall-webmanifest/blob/trunk/src/WebAppManifest.dhall sha:…
in WebAppManifest::{
, name = "toast.al"
, lang = Some "en-US"
, dir = Some WebAppManifest.TextDirection.Type.ltr
, display = Some WebAppManifest.DisplayMode.Type.browser
, orientation = Some WebAppManifest.OrientationLock.Type.natural
, theme_color = Some "#f2008a"
, background_color = Some "#f8f8f6"
, categories = Some [ "blog", "programming" ]
, icons =
[ { src = "icon.avif"
, sizes = Some "64x64"
, type = Some "image/avif"
, purpose = Some
( WebAppManifest.ManifestImageResource.Purpose.concatShow
[ WebAppManifest.ManifestImageResource.Purpose.Type.any
, WebAppManifest.ManifestImageResource.Purpose.Type.maskable
]
)
}
, { src = "favicon.ico"
, sizes = Some "16x16 32x32"
, type = None Text
}
, WebAppManifest.ImageResource::{ src = "icon.svg", purpose = Some "any" }
]
}
: WebAppManifest.Type