The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import type { BookDecoratedTemplate } from '../template-format';
/**
* More illustrated postcard pages: a large letter cover whose title is
* filled with the photo, an airmail letter spread of words only and a rack
* of seven picture postcards. Drawn in postcard.
*
* Drawn on a 210 mm page and kept as fractions of it (template-format.ts),
* in the colours and faces of the theme named above; their links let any
* other theme recolour them.
*/
export const MORE_POSTCARD: readonly BookDecoratedTemplate[] = [
{
id: 'postcard-greetings',
labelKey: 'studio.templates.name.postcardGreetings',
kind: 'single',
archetype: 'postcard',
tags: ['postcard', 'large-letter', 'word-art', 'photo-filled', 'sunburst', 'one-photo', 'lively'],
descr:
'A large letter postcard: a soft sunburst behind a dashed border, the year, the title in huge display serif capitals filled with the photo and shadowed in coral, a script line, a star rule, the photo with a wavy edge, lemons and a postmark.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 's1',
keep: true,
frame: { x: -0.05, y: -0.0714, w: 1.1, h: 1.1 },
rotation: 0,
opacity: 0.4,
locked: false,
kind: 'shape',
shape: 'sunburst-24',
fill: '#f3d58a',
gradient: 'none',
stroke: null,
token: 'accent3',
strokeWidth: 0,
strokeStyle: 'solid',
radius: 0,
},
{
id: 's2',
frame: { x: 0.0476, y: 0.0476, w: 0.9048, h: 0.9048 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'shape',
shape: 'rect',
fill: null,
gradient: 'none',
stroke: '#1f2d4d',
strokeToken: 'ink',
strokeWidth: 0.0024,
strokeStyle: 'dashed',
radius: 0.0071,
},
{
id: 't3',
role: 'date',
frame: { x: 0.2619, y: 0.0905, w: 0.4762, h: 0.0381 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'center',
leading: 1,
tracking: 0.45,
color: '#1f2d4d',
token: 'ink',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't4',
role: 'title',
fillPhoto: 'photo:1',
tint: { outline: 'ink', shadow: 'accent' },
frame: { x: 0.0762, y: 0.1429, w: 0.8476, h: 0.2857 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.3333,
weight: 400,
italic: false,
align: 'center',
leading: 0.9,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
outline: { color: '#1f2d4d', width: 0.0033 },
shadow: { dx: 0.0095, dy: 0.0095, color: '#c8453d', alpha: 1 },
fit: 'shrink',
fitMax: 0.3333,
},
{
id: 't5',
role: 'subtitle',
frame: { x: 0.1143, y: 0.4381, w: 0.7714, h: 0.0857 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dancing',
size: 0.1238,
weight: 400,
italic: false,
align: 'center',
leading: 1.1,
tracking: 0,
color: '#c8453d',
token: 'accent',
fontRole: 'script',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.1238,
},
{
id: 's6',
tint: { colors: ['ink'] },
frame: { x: 0.3095, y: 0.5238, w: 0.381, h: 0.0653 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'sticker',
stickerId: 'starRule',
colors: ['#1f2d4d'],
flipX: false,
},
{
id: 'p7',
role: 'photo:1',
tint: { shadow: 'ink' },
frame: { x: 0.0952, y: 0.6, w: 0.8095, h: 0.3048 },
rotation: 0,
opacity: 1,
locked: false,
group: 'picture',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
edge: 'wavy',
edgeSize: 0.0095,
},
{
id: 's8',
tint: { colors: ['accent3', null, 'ink'] },
frame: { x: 0.7476, y: 0.5143, w: 0.1905, h: 0.1905 },
rotation: 18,
opacity: 1,
locked: false,
group: 'picture',
kind: 'sticker',
stickerId: 'lemonBranch',
colors: ['#f3d58a', '#3f8f4f', '#1f2d4d'],
flipX: false,
},
{
id: 's9',
tint: { colors: ['ink'] },
frame: { x: 0.0762, y: 0.8381, w: 0.181, h: 0.1052 },
rotation: -8,
opacity: 0.8,
locked: false,
group: 'picture',
kind: 'sticker',
stickerId: 'postmark',
colors: ['#1f2d4d'],
flipX: false,
},
],
},
{
id: 'postcard-airmail',
labelKey: 'studio.templates.name.postcardAirmail',
kind: 'inner',
archetype: 'postcard',
tags: ['postcard', 'airmail', 'letter', 'illustrated', 'stamp', 'words-only', 'story', 'calm'],
descr:
'Airmail stationery without photos: striped coral bands at head and foot, the date, a large display serif title, a script line and a wave rule over a drawn church and a passport stamp; on the right a stamp, a postmark and the long story.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 's1',
tint: { fg: 'accent', bg: 'paper' },
frame: { x: -0.0143, y: -0.0143, w: 2.0286, h: 0.0572 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'shape',
shape: 'rect',
fill: '#c8453d',
gradient: 'none',
paint: { type: 'pattern', pattern: 'stripes', fg: '#c8453d', bg: '#e3f1e8', scale: 0.6, angle: 45 },
stroke: null,
token: 'accent',
strokeWidth: 0,
strokeStyle: 'solid',
radius: 0,
},
{
id: 's2',
tint: { fg: 'accent', bg: 'paper' },
frame: { x: -0.0143, y: 0.9571, w: 2.0286, h: 0.0572 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'shape',
shape: 'rect',
fill: '#c8453d',
gradient: 'none',
paint: { type: 'pattern', pattern: 'stripes', fg: '#c8453d', bg: '#e3f1e8', scale: 0.6, angle: 45 },
stroke: null,
token: 'accent',
strokeWidth: 0,
strokeStyle: 'solid',
radius: 0,
},
{
id: 's3',
keep: true,
frame: { x: 0.5333, y: 0.5524, w: 0.4095, h: 0.4095 },
rotation: 0,
opacity: 0.35,
locked: false,
kind: 'shape',
shape: 'ellipse',
fill: '#ec8f6a',
gradient: 'none',
stroke: null,
token: 'accent2',
strokeWidth: 0,
strokeStyle: 'solid',
radius: 0,
},
{
id: 's4',
keep: true,
tint: { colors: [null, 'ink', 'accent2', 'accent3'] },
frame: { x: 0.5714, y: 0.5905, w: 0.3333, h: 0.3333 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'santoriniChurch',
colors: ['#fbfaf5', '#1f2d4d', '#ec8f6a', '#f3d58a'],
flipX: false,
},
{
id: 's5',
tint: { colors: ['ink'] },
frame: { x: 0.0857, y: 0.7143, w: 0.2857, h: 0.2 },
rotation: -12,
opacity: 0.7,
locked: false,
kind: 'sticker',
stickerId: 'passportStamp',
colors: ['#1f2d4d'],
flipX: false,
},
{
id: 't6',
role: 'date',
frame: { x: 0.0762, y: 0.1143, w: 0.8476, h: 0.0381 },
rotation: 0,
opacity: 1,
locked: false,
group: 'head',
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'left',
leading: 1,
tracking: 0.42,
color: '#1f2d4d',
token: 'ink',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't7',
role: 'title',
frame: { x: 0.0762, y: 0.1619, w: 0.8476, h: 0.3238 },
rotation: 0,
opacity: 1,
locked: false,
group: 'head',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.381,
weight: 400,
italic: false,
align: 'left',
leading: 0.92,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'top',
fit: 'shrink',
fitMax: 0.381,
},
{
id: 't8',
role: 'subtitle',
frame: { x: 0.0762, y: 0.4952, w: 0.8476, h: 0.0952 },
rotation: 0,
opacity: 1,
locked: false,
group: 'head',
kind: 'text',
text: '',
font: 'dancing',
size: 0.1333,
weight: 400,
italic: false,
align: 'left',
leading: 1.1,
tracking: 0,
color: '#c8453d',
token: 'accent',
fontRole: 'script',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.1333,
},
{
id: 's9',
tint: { colors: ['ink'] },
frame: { x: 0.0762, y: 0.6048, w: 0.3, h: 0.0429 },
rotation: 0,
opacity: 1,
locked: false,
group: 'head',
kind: 'sticker',
stickerId: 'waveRule',
colors: ['#1f2d4d'],
flipX: false,
},
{
id: 's10',
tint: { colors: ['accent2', 'ink', 'accent3', null] },
frame: { x: 1.7524, y: 0.0952, w: 0.1524, h: 0.1905 },
rotation: 4,
opacity: 1,
locked: false,
group: 'stamp',
kind: 'sticker',
stickerId: 'postageStamp',
colors: ['#ec8f6a', '#1f2d4d', '#f3d58a', '#f7edd5'],
flipX: false,
},
{
id: 's11',
tint: { colors: ['ink'] },
frame: { x: 1.6, y: 0.1238, w: 0.2, h: 0.1163 },
rotation: -10,
opacity: 0.8,
locked: false,
group: 'stamp',
kind: 'sticker',
stickerId: 'postmark',
colors: ['#1f2d4d'],
flipX: false,
},
{
id: 'l12',
tint: { stroke: 'accent' },
frame: { x: 1.0762, y: 0.2524, w: 0.4571, h: 0.0095 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'line',
points: [
{
x: 0,
y: 0.5,
},
{
x: 1,
y: 0.5,
},
],
curve: 'straight',
stroke: '#c8453d',
strokeWidth: 0.0012,
dash: 'solid',
squiggle: 'none',
startCap: 'none',
endCap: 'none',
wobble: 0,
ornament: 'star',
},
{
id: 't13',
role: 'body',
frame: { x: 1.0762, y: 0.3048, w: 0.8476, h: 0.6095 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'inter',
size: 0.0476,
weight: 400,
italic: false,
align: 'left',
leading: 1.55,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'body',
binding: null,
overridden: false,
vAlign: 'top',
},
],
},
{
id: 'postcard-rack',
labelKey: 'studio.templates.name.postcardRack',
kind: 'inner',
archetype: 'postcard',
tags: ['postcard', 'collage', 'pinboard', 'tape', 'tilted', 'seven-photos', 'lively'],
descr:
'Seven photos as picture postcards in white borders, tilted and overlapping, held by tape, one cancelled by a postmark; a pale sun behind the date, the display serif title and the script line, the story at the foot.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 's1',
keep: true,
frame: { x: -0.12, y: -0.14, w: 0.5, h: 0.5102 },
rotation: 0,
opacity: 0.55,
locked: false,
kind: 'shape',
shape: 'sun-cutout',
fill: '#f3d58a',
gradient: 'none',
stroke: null,
token: 'accent3',
strokeWidth: 0,
strokeStyle: 'solid',
radius: 0,
},
{
id: 't2',
role: 'date',
frame: { x: 0.0762, y: 0.0857, w: 0.8476, h: 0.0381 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'left',
leading: 1,
tracking: 0.42,
color: '#1f2d4d',
token: 'ink',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't3',
role: 'title',
frame: { x: 0.0762, y: 0.1333, w: 0.8476, h: 0.1238 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.2286,
weight: 400,
italic: false,
align: 'left',
leading: 1,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.2286,
},
{
id: 't4',
role: 'subtitle',
frame: { x: 0.0762, y: 0.2571, w: 0.8476, h: 0.0762 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dancing',
size: 0.1048,
weight: 400,
italic: false,
align: 'left',
leading: 1.1,
tracking: 0,
color: '#c8453d',
token: 'accent',
fontRole: 'script',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.1048,
},
{
id: 'p5',
role: 'photo:1',
tint: { shadow: 'ink' },
frame: { x: 0.0762, y: 0.381, w: 0.5238, h: 0.3714 },
rotation: -3,
opacity: 1,
locked: false,
group: 'print',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 's6',
tint: { colors: ['accent3'] },
frame: { x: 0.2619, y: 0.3429, w: 0.1524, h: 0.0762 },
rotation: -8,
opacity: 0.85,
locked: false,
group: 'print',
kind: 'sticker',
stickerId: 'maskingTape',
colors: ['#f3d58a'],
flipX: false,
},
{
id: 'p7',
role: 'photo:2',
tint: { shadow: 'ink' },
frame: { x: 0.6, y: 0.3333, w: 0.3048, h: 0.381 },
rotation: 4,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 'p8',
role: 'photo:3',
tint: { shadow: 'ink' },
frame: { x: 0.4, y: 0.6857, w: 0.3333, h: 0.2381 },
rotation: 2,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 'p9',
role: 'photo:4',
tint: { shadow: 'ink' },
frame: { x: 1.0762, y: 0.0762, w: 0.4, h: 0.2857 },
rotation: 3,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 'p10',
role: 'photo:5',
tint: { shadow: 'ink' },
frame: { x: 1.5048, y: 0.1048, w: 0.4, h: 0.2857 },
rotation: -4,
opacity: 1,
locked: false,
group: 'tape',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 's11',
tint: { colors: ['accent3'] },
frame: { x: 1.6286, y: 0.0667, w: 0.1524, h: 0.0762 },
rotation: 6,
opacity: 0.85,
locked: false,
group: 'tape',
kind: 'sticker',
stickerId: 'maskingTape',
colors: ['#f3d58a'],
flipX: false,
},
{
id: 'p12',
role: 'photo:6',
tint: { shadow: 'ink' },
frame: { x: 1.0952, y: 0.4095, w: 0.3048, h: 0.381 },
rotation: -2,
opacity: 1,
locked: false,
group: 'picture',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 's13',
tint: { colors: ['accent2', 'paper'] },
frame: { x: 1.0571, y: 0.3905, w: 0.1905, h: 0.054 },
rotation: -30,
opacity: 0.9,
locked: false,
group: 'picture',
kind: 'sticker',
stickerId: 'washiStripes',
colors: ['#ec8f6a', '#e3f1e8'],
flipX: false,
},
{
id: 'p14',
role: 'photo:7',
tint: { shadow: 'ink' },
frame: { x: 1.4381, y: 0.4286, w: 0.4667, h: 0.3143 },
rotation: 5,
opacity: 1,
locked: false,
group: 'postmark',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
shadow: { dx: 0.0076, dy: 0.0076, color: '#1f2d4d', alpha: 0.25 },
},
{
id: 's15',
tint: { colors: ['ink'] },
frame: { x: 1.7238, y: 0.6762, w: 0.181, h: 0.1052 },
rotation: -12,
opacity: 0.8,
locked: false,
group: 'postmark',
kind: 'sticker',
stickerId: 'postmark',
colors: ['#1f2d4d'],
flipX: false,
},
{
id: 't16',
role: 'body',
frame: { x: 1.0762, y: 0.8286, w: 0.8476, h: 0.1143 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'inter',
size: 0.0429,
weight: 400,
italic: false,
align: 'left',
leading: 1.55,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'body',
binding: null,
overridden: false,
vAlign: 'top',
},
],
},
];