tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
set theme properly on update
awarm.space
1 month ago
25afb91c
c2ed386a
+1
1 changed file
expand all
collapse all
unified
split
app
lish
createPub
updatePublication.ts
+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
281
+
$type: "pub.leaflet.publication#theme" as const,
281
282
backgroundImage: theme.backgroundImage
282
283
? {
283
284
$type: "pub.leaflet.theme.backgroundImage",