tikzify 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/book.ts +3 -3
- package/src/cover.ts +2 -2
package/package.json
CHANGED
package/src/book.ts
CHANGED
|
@@ -8,7 +8,7 @@ type Page = z.infer<typeof Page>
|
|
|
8
8
|
const Page = z.object({
|
|
9
9
|
gradient: gradient,
|
|
10
10
|
textBg: z.string(),
|
|
11
|
-
text: z.
|
|
11
|
+
text: z.string().max(1024),
|
|
12
12
|
emojis: z.object({
|
|
13
13
|
text: z.array(Emoji).length(3),
|
|
14
14
|
image: z.array(Emoji).length(3),
|
|
@@ -128,7 +128,7 @@ ${esImage}
|
|
|
128
128
|
\shade[shading=axis, bottom color=c${colors[c1]}, top color=c${colors[c2]}, shading angle=45]
|
|
129
129
|
(current page.south west) rectangle ([xshift=148.5mm]current page.north east);
|
|
130
130
|
\fill[
|
|
131
|
-
opacity=0.
|
|
131
|
+
opacity=0.2,
|
|
132
132
|
color=c${colors[page.textBg]},
|
|
133
133
|
yshift=-20,
|
|
134
134
|
xscale=380,
|
|
@@ -143,7 +143,7 @@ ${esText}
|
|
|
143
143
|
\begin{minipage}{10cm}
|
|
144
144
|
\Huge
|
|
145
145
|
\raggedleft
|
|
146
|
-
${page.text
|
|
146
|
+
${page.text}
|
|
147
147
|
\end{minipage}
|
|
148
148
|
\end{center}
|
|
149
149
|
\vspace*{\fill}
|
package/src/cover.ts
CHANGED
|
@@ -12,7 +12,7 @@ export const Cover = z.object({
|
|
|
12
12
|
title: z.string().max(64),
|
|
13
13
|
author: z.string().max(32),
|
|
14
14
|
tagline: z.string().max(128),
|
|
15
|
-
blurb: z.
|
|
15
|
+
blurb: z.string().max(512),
|
|
16
16
|
testimonial_quote: z.string().max(256),
|
|
17
17
|
testimonial_name: z.string().max(64),
|
|
18
18
|
slogan: z.string().max(64),
|
|
@@ -92,7 +92,7 @@ rectangle ++(-0.45\paperwidth, -0.6\paperheight);
|
|
|
92
92
|
\scriptsize
|
|
93
93
|
\begin{spacing}{1.5}
|
|
94
94
|
\setlength{\parskip}{.8em}
|
|
95
|
-
${blurb
|
|
95
|
+
${blurb}
|
|
96
96
|
\end{spacing}
|
|
97
97
|
\vspace{\fill}
|
|
98
98
|
|