a tool for shared writing and social publishing

set theme properly on update

+1
+1
app/lish/createPub/updatePublication.ts
··· 278 278 return withPublicationUpdate(uri, async ({ normalizedPub, existingBasePath, publicationType, agent }) => { 279 279 // Build theme object 280 280 const themeData = { 281 + $type: "pub.leaflet.publication#theme" as const, 281 282 backgroundImage: theme.backgroundImage 282 283 ? { 283 284 $type: "pub.leaflet.theme.backgroundImage",