diff --git a/src/lib/components/Text.svelte b/src/lib/components/Text.svelte
index 92daf9f..73ae1b0 100644
--- a/src/lib/components/Text.svelte
+++ b/src/lib/components/Text.svelte
@@ -24,6 +24,7 @@
+
{#if checked}
@@ -49,4 +50,7 @@
p {
margin-bottom: 1rem;
}
+ label {
+ color: #333;
+ }
diff --git a/src/lib/templates/azul.js b/src/lib/templates/azul.js
index 361de30..aabec16 100644
--- a/src/lib/templates/azul.js
+++ b/src/lib/templates/azul.js
@@ -54,23 +54,23 @@ export const azul = {
fontWeight: 700
},
date: {
- top: 25,
+ top: 48,
height: 4,
- left: 5,
+ left: 1,
right: 1,
- fontSize: 1.1,
+ fontSize: 1.5,
color: "#fff",
fontFamily: "sans-serif",
- lineHeight: 1,
+ lineHeight: 2,
textAlign: "right",
fontWeight: 700
},
time: {
- top: 55,
+ top: 72,
height: 2,
- left: 18.5,
+ left: 1,
right: 1,
- fontSize: 1.8,
+ fontSize: 1.5,
color: "#fff",
fontFamily: "sans-serif",
lineHeight: 2,
@@ -78,15 +78,15 @@ export const azul = {
fontWeight: 700
},
weekday: {
- top: 25,
+ top: 24,
height: 1.5,
left: 1,
- right: 10,
- fontSize: 1.3,
+ right: 1,
+ fontSize: 1.5,
color: "#fff",
fontFamily: "sans-serif",
- lineHeight: 1.8,
- textAlign: "left",
+ lineHeight: 2,
+ textAlign: "right",
fontWeight: 700
},
address: {
diff --git a/src/lib/templates/corazon.js b/src/lib/templates/corazon.js
index 4e3f3cc..ecefa67 100644
--- a/src/lib/templates/corazon.js
+++ b/src/lib/templates/corazon.js
@@ -17,26 +17,26 @@ export const corazon = {
fontWeight: 700
},
title: {
- top: 445,
- height: 7.5,
+ top: 145,
+ height: 3,
left: 1,
right: 1,
fontSize: 3,
- color: "firebrick",
- fontFamily: "sans-serif",
+ color: "white",
+ fontFamily: "'Arial', sans-serif",
lineHeight: 2.4,
textAlign: "right",
fontWeight: 700
},
subtitle: {
- top: 575,
- height: 1.4,
+ top: 100,
+ height: 1.5,
left: 1,
- right: 2,
- fontSize: 1.6,
+ right: 1,
+ fontSize: 2,
color: "white",
- fontFamily: "Gill Sans, sans-serif",
+ fontFamily: "'Arial', sans-serif",
lineHeight: 1.5,
textAlign: "center",
fontWeight: 400
@@ -54,27 +54,27 @@ export const corazon = {
fontWeight: 700
},
date: {
- top: 25,
+ top: 535,
height: 4,
- left: 5,
+ left: 8,
right: 1,
- fontSize: 1.1,
+ fontSize: 2,
color: "#fff",
- fontFamily: "sans-serif",
- lineHeight: 1,
- textAlign: "right",
+ fontFamily: "'Arial', sans-serif",
+ lineHeight: 2,
+ textAlign: "left",
fontWeight: 700
},
time: {
- top: 55,
+ top: 595,
height: 2,
- left: 18.5,
+ left: 8,
right: 1,
- fontSize: 1.8,
+ fontSize: 2,
color: "#fff",
- fontFamily: "sans-serif",
+ fontFamily: "'Arial', sans-serif",
lineHeight: 2,
- textAlign: "right",
+ textAlign: "left",
fontWeight: 700
},
weekday: {
@@ -90,15 +90,15 @@ export const corazon = {
fontWeight: 700
},
address: {
- top: 620,
+ top: 645,
height: 5.5,
- left: 2,
+ left: 8,
right: 2,
- fontSize: 1.2,
+ fontSize: 1.3,
color: "white",
- fontFamily: "sans-serif",
- lineHeight: 1.8,
- textAlign: "center",
+ fontFamily: "'Arial', sans-serif",
+ lineHeight: 1.6,
+ textAlign: "left",
fontWeight: 400
},
}
diff --git a/src/lib/templates/templates.js b/src/lib/templates/templates.js
index 886cb5e..f66c28c 100644
--- a/src/lib/templates/templates.js
+++ b/src/lib/templates/templates.js
@@ -32,7 +32,4 @@ import { corazon } from '$lib/templates/corazon';
*/
/** @type Array */
-export const templates = [];
-templates.push(verde);
-templates.push(azul);
-templates.push(corazon);
+export const templates = [verde, azul, corazon];