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';
/**
* The illustrated postcard covers: a pastel page, a drawing at the centre,
* a large display serif title, a script line and the year. 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 COVERS_POSTCARD: readonly BookDecoratedTemplate[] = [
{
id: 'postcard-houses',
labelKey: 'studio.templates.name.postcardHouses',
kind: 'single',
archetype: 'postcard',
tags: ['postcard', 'illustrated', 'town', 'houses', 'stamp', 'pastel', 'calm'],
descr:
'A pastel postcard with a ruled border: the title in a display serif and a script line at the head, a row of town houses drawn at the centre, the year under them, a photo as a perforated stamp with a postmark.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 's1',
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.0021,
strokeStyle: 'solid',
radius: 0.0071,
},
{
id: 's2',
frame: { x: 0.0595, y: 0.0595, w: 0.881, h: 0.881 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'shape',
shape: 'rect',
fill: null,
gradient: 'none',
stroke: '#1f2d4d',
strokeToken: 'ink',
strokeWidth: 0.001,
strokeStyle: 'solid',
radius: 0.0048,
},
{
id: 't3',
role: 'title',
frame: { x: 0.0952, y: 0.1143, w: 0.8095, h: 0.1429 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.2857,
weight: 400,
italic: false,
align: 'center',
leading: 1,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.2857,
},
{
id: 't4',
role: 'subtitle',
frame: { x: 0.1143, y: 0.2571, 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: 's5',
keep: true,
tint: { colors: ['accent3', 'accent', 'ink', 'accent2'] },
frame: { x: 0.2, y: 0.3619, w: 0.6, h: 0.481 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'rowHouses',
colors: ['#f3d58a', '#c8453d', '#1f2d4d', '#ec8f6a'],
flipX: false,
},
{
id: 't6',
role: 'date',
frame: { x: 0.2619, y: 0.8667, w: 0.4762, h: 0.0381 },
rotation: 0,
opacity: 1,
locked: false,
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: 'p7',
role: 'photo:1',
frame: { x: 0.7524, y: 0.7048, w: 0.1429, h: 0.181 },
rotation: 5,
opacity: 1,
locked: false,
group: 'stamp',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0086, color: '#ffffff' },
edge: 'perforated',
edgeSize: 0.0062,
},
{
id: 's8',
tint: { colors: ['ink'] },
frame: { x: 0.6381, y: 0.7333, w: 0.181, h: 0.1048 },
rotation: -8,
opacity: 0.85,
locked: false,
group: 'stamp',
kind: 'sticker',
stickerId: 'postmark',
colors: ['#1f2d4d'],
flipX: false,
},
],
},
{
id: 'postcard-coast',
labelKey: 'studio.templates.name.postcardCoast',
kind: 'single',
archetype: 'postcard',
tags: ['postcard', 'illustrated', 'sea', 'sailing', 'no-photo', 'pastel', 'calm'],
descr:
'An illustration without a photo: a sailing boat under the sun at the centre of a pastel page, a wave rule under it, a script line, the title in a display serif and the year.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 's1',
tint: { colors: ['accent3', 'accent2'] },
frame: { x: 0.5905, y: 0.1048, w: 0.2286, h: 0.2286 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'sun',
colors: ['#f3d58a', '#ec8f6a'],
flipX: false,
},
{
id: 's2',
keep: true,
tint: { colors: ['accent', null, 'ink', null] },
frame: { x: 0.2476, y: 0.1333, w: 0.4762, h: 0.5286 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'sailboat',
colors: ['#c8453d', '#fbf8f0', '#1f2d4d', '#4ea8de'],
flipX: false,
},
{
id: 's3',
tint: { colors: ['ink'] },
frame: { x: 0.2952, y: 0.6571, w: 0.4095, h: 0.0571 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'sticker',
stickerId: 'waveRule',
colors: ['#1f2d4d'],
flipX: false,
},
{
id: 't4',
role: 'subtitle',
frame: { x: 0.1143, y: 0.7095, w: 0.7714, h: 0.0714 },
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: 't5',
role: 'title',
frame: { x: 0.0762, y: 0.781, w: 0.8476, h: 0.1381 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.2857,
weight: 400,
italic: false,
align: 'center',
leading: 1,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.2857,
},
{
id: 't6',
role: 'date',
frame: { x: 0.2619, y: 0.9286, w: 0.4762, h: 0.0333 },
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: 'postcard-peaks',
labelKey: 'studio.templates.name.postcardPeaks',
kind: 'single',
archetype: 'postcard',
tags: ['postcard', 'illustrated', 'mountains', 'round-photo', 'pastel', 'calm'],
descr:
'The title in a display serif and a script line at the head, a round photo with a white border at the centre, a drawn mountain range in front of its foot, the year under it.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 't1',
role: 'title',
frame: { x: 0.0857, y: 0.0762, w: 0.8286, h: 0.1429 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.2667,
weight: 400,
italic: false,
align: 'center',
leading: 1,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.2667,
},
{
id: 't2',
role: 'subtitle',
frame: { x: 0.1143, y: 0.219, w: 0.7714, h: 0.0762 },
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: 'p3',
role: 'photo:1',
keep: true,
frame: { x: 0.2381, y: 0.3143, w: 0.5238, h: 0.5238 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'ellipse',
frameStyle: 'none',
border: { width: 0.0167, color: '#ffffff' },
},
{
id: 's4',
keep: true,
tint: { colors: ['accent2', 'ink', null, 'accent3'] },
frame: { x: 0.2476, y: 0.6095, w: 0.5048, h: 0.3 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'mountainRange',
colors: ['#ec8f6a', '#1f2d4d', '#f7f9fb', '#f3d58a'],
flipX: false,
},
{
id: 't5',
role: 'date',
frame: { x: 0.2619, y: 0.9286, w: 0.4762, h: 0.0333 },
rotation: 0,
opacity: 1,
locked: false,
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,
},
],
},
];