configuro los archivos para que funcionen

pull/11/head
Borja Robert 2 years ago
parent bffaddb64e
commit 0981f7f093

@ -1,9 +1,9 @@
import '$lib/templates/templates' import '$lib/templates/templates'
/** @type {import('$lib/templates/templates').Template} */ /** @type {import('$lib/templates/templates').Template} */
export const azul = { export const corazon = {
name: "azul", name: "corazon",
image: "plantilla_azul.png", image: "corazon.png",
heading: { heading: {
top: 400, top: 400,
height: 2, height: 2,

@ -1,104 +0,0 @@
import '$lib/templates/templates'
/** @type {import('$lib/templates/templates').Template} */
export const azul = {
name: "azul",
image: "plantilla_azul.png",
heading: {
top: 400,
height: 2,
left: 10,
right: 1,
fontSize: 2,
color: "white",
fontFamily: "sans-serif",
lineHeight: 2,
textAlign: "right",
fontWeight: 700
},
title: {
top: 445,
height: 7.5,
left: 1,
right: 1,
fontSize: 3,
color: "firebrick",
fontFamily: "sans-serif",
lineHeight: 2.4,
textAlign: "right",
fontWeight: 700
},
subtitle: {
top: 575,
height: 1.4,
left: 1,
right: 2,
fontSize: 1.6,
color: "white",
fontFamily: "Gill Sans, sans-serif",
lineHeight: 1.5,
textAlign: "center",
fontWeight: 400
},
content: {
top: 480,
height: 8.5,
left: 1.5,
right: 17,
fontSize: 0,
color: "#222",
fontFamily: "sans-serif",
lineHeight: 1.1,
textAlign: "left",
fontWeight: 700
},
date: {
top: 25,
height: 4,
left: 5,
right: 1,
fontSize: 1.1,
color: "#fff",
fontFamily: "sans-serif",
lineHeight: 1,
textAlign: "right",
fontWeight: 700
},
time: {
top: 55,
height: 2,
left: 18.5,
right: 1,
fontSize: 1.8,
color: "#fff",
fontFamily: "sans-serif",
lineHeight: 2,
textAlign: "right",
fontWeight: 700
},
weekday: {
top: 25,
height: 1.5,
left: 1,
right: 10,
fontSize: 1.3,
color: "#fff",
fontFamily: "sans-serif",
lineHeight: 1.8,
textAlign: "left",
fontWeight: 700
},
address: {
top: 620,
height: 5.5,
left: 2,
right: 2,
fontSize: 1.2,
color: "white",
fontFamily: "sans-serif",
lineHeight: 1.8,
textAlign: "center",
fontWeight: 400
},
}

@ -1,5 +1,6 @@
import { verde } from '$lib/templates/verde'; import { verde } from '$lib/templates/verde';
import { azul } from '$lib/templates/azul'; import { azul } from '$lib/templates/azul';
import { corazon } from '$lib/templates/corazon';
/** /**
* @typedef {{ * @typedef {{
* top: number; * top: number;
@ -34,3 +35,4 @@ import { azul } from '$lib/templates/azul';
export const templates = []; export const templates = [];
templates.push(verde); templates.push(verde);
templates.push(azul); templates.push(azul);
templates.push(corazon);

Loading…
Cancel
Save