@resumekit/schema 0.1.0 → 0.3.0
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/dist/template.d.ts +722 -1
- package/dist/template.d.ts.map +1 -1
- package/dist/template.js +355 -15
- package/package.json +1 -1
- package/src/template.ts +386 -15
package/dist/template.d.ts
CHANGED
|
@@ -771,56 +771,183 @@ export type ResumeEdits = z.infer<typeof ResumeEditsSchema>;
|
|
|
771
771
|
export declare const DOCUMENT_FONTS: {
|
|
772
772
|
readonly helvetica: {
|
|
773
773
|
readonly name: "Helvetica";
|
|
774
|
+
readonly category: "sans";
|
|
774
775
|
readonly supplied: "TeX Gyre Heros";
|
|
775
776
|
readonly stack: "'TeX Gyre Heros', 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif";
|
|
776
777
|
};
|
|
777
778
|
readonly arial: {
|
|
778
779
|
readonly name: "Arial";
|
|
780
|
+
readonly category: "sans";
|
|
779
781
|
readonly supplied: "Arimo";
|
|
780
782
|
readonly stack: "Arimo, Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif";
|
|
781
783
|
};
|
|
782
784
|
readonly calibri: {
|
|
783
785
|
readonly name: "Calibri";
|
|
786
|
+
readonly category: "sans";
|
|
784
787
|
readonly supplied: "Carlito";
|
|
785
788
|
readonly stack: "Carlito, Calibri, Candara, Segoe, 'Segoe UI', Optima, Arial, sans-serif";
|
|
786
789
|
};
|
|
787
790
|
readonly georgia: {
|
|
788
791
|
readonly name: "Georgia";
|
|
792
|
+
readonly category: "serif";
|
|
789
793
|
readonly supplied: "Gelasio";
|
|
790
794
|
readonly stack: "Gelasio, Georgia, Cambria, 'Times New Roman', Times, serif";
|
|
791
795
|
};
|
|
792
796
|
readonly garamond: {
|
|
793
797
|
readonly name: "Garamond";
|
|
798
|
+
readonly category: "serif";
|
|
794
799
|
readonly supplied: "EB Garamond";
|
|
795
800
|
readonly stack: "'EB Garamond', Garamond, Baskerville, 'Baskerville Old Face', 'Times New Roman', serif";
|
|
796
801
|
};
|
|
797
802
|
readonly times: {
|
|
798
803
|
readonly name: "Times";
|
|
804
|
+
readonly category: "serif";
|
|
799
805
|
readonly supplied: "Tinos";
|
|
800
806
|
readonly stack: "Tinos, 'Times New Roman', Times, Georgia, serif";
|
|
801
807
|
};
|
|
802
808
|
readonly lato: {
|
|
803
809
|
readonly name: "Lato";
|
|
810
|
+
readonly category: "sans";
|
|
804
811
|
readonly supplied: "Lato";
|
|
805
812
|
readonly stack: "Lato, 'Segoe UI', Candara, Optima, Calibri, sans-serif";
|
|
806
813
|
};
|
|
807
814
|
readonly condensed: {
|
|
808
815
|
readonly name: "Roboto Condensed";
|
|
816
|
+
readonly category: "sans";
|
|
809
817
|
readonly supplied: "Roboto Condensed";
|
|
810
818
|
readonly stack: "'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue Condensed', 'Liberation Sans Narrow', sans-serif";
|
|
811
819
|
};
|
|
812
820
|
readonly ptserif: {
|
|
813
821
|
readonly name: "PT Serif";
|
|
822
|
+
readonly category: "serif";
|
|
814
823
|
readonly supplied: "PT Serif";
|
|
815
824
|
readonly stack: "'PT Serif', Charter, Cambria, Georgia, 'Times New Roman', serif";
|
|
816
825
|
};
|
|
817
826
|
readonly bitter: {
|
|
818
827
|
readonly name: "Bitter";
|
|
828
|
+
readonly category: "slab";
|
|
819
829
|
readonly supplied: "Bitter";
|
|
820
830
|
readonly stack: "Bitter, 'Roboto Slab', Rockwell, 'Courier New', Cambria, Georgia, serif";
|
|
821
831
|
};
|
|
832
|
+
readonly inter: {
|
|
833
|
+
readonly name: "Inter";
|
|
834
|
+
readonly category: "sans";
|
|
835
|
+
readonly supplied: "Inter";
|
|
836
|
+
readonly stack: "Inter, 'Helvetica Neue', Arial, sans-serif";
|
|
837
|
+
};
|
|
838
|
+
readonly opensans: {
|
|
839
|
+
readonly name: "Open Sans";
|
|
840
|
+
readonly category: "sans";
|
|
841
|
+
readonly supplied: "Open Sans";
|
|
842
|
+
readonly stack: "'Open Sans', 'Segoe UI', Arial, sans-serif";
|
|
843
|
+
};
|
|
844
|
+
readonly montserrat: {
|
|
845
|
+
readonly name: "Montserrat";
|
|
846
|
+
readonly category: "sans";
|
|
847
|
+
readonly supplied: "Montserrat";
|
|
848
|
+
readonly stack: "Montserrat, 'Century Gothic', Arial, sans-serif";
|
|
849
|
+
};
|
|
850
|
+
readonly plexsans: {
|
|
851
|
+
readonly name: "IBM Plex Sans";
|
|
852
|
+
readonly category: "sans";
|
|
853
|
+
readonly supplied: "IBM Plex Sans";
|
|
854
|
+
readonly stack: "'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif";
|
|
855
|
+
};
|
|
856
|
+
readonly worksans: {
|
|
857
|
+
readonly name: "Work Sans";
|
|
858
|
+
readonly category: "sans";
|
|
859
|
+
readonly supplied: "Work Sans";
|
|
860
|
+
readonly stack: "'Work Sans', 'Helvetica Neue', Arial, sans-serif";
|
|
861
|
+
};
|
|
862
|
+
readonly nunitosans: {
|
|
863
|
+
readonly name: "Nunito Sans";
|
|
864
|
+
readonly category: "sans";
|
|
865
|
+
readonly supplied: "Nunito Sans";
|
|
866
|
+
readonly stack: "'Nunito Sans', 'Segoe UI', Arial, sans-serif";
|
|
867
|
+
};
|
|
868
|
+
readonly dmsans: {
|
|
869
|
+
readonly name: "DM Sans";
|
|
870
|
+
readonly category: "sans";
|
|
871
|
+
readonly supplied: "DM Sans";
|
|
872
|
+
readonly stack: "'DM Sans', 'Helvetica Neue', Arial, sans-serif";
|
|
873
|
+
};
|
|
874
|
+
readonly firasans: {
|
|
875
|
+
readonly name: "Fira Sans";
|
|
876
|
+
readonly category: "sans";
|
|
877
|
+
readonly supplied: "Fira Sans";
|
|
878
|
+
readonly stack: "'Fira Sans', 'Segoe UI', Arial, sans-serif";
|
|
879
|
+
};
|
|
880
|
+
readonly librefranklin: {
|
|
881
|
+
readonly name: "Libre Franklin";
|
|
882
|
+
readonly category: "sans";
|
|
883
|
+
readonly supplied: "Libre Franklin";
|
|
884
|
+
readonly stack: "'Libre Franklin', 'Franklin Gothic', Arial, sans-serif";
|
|
885
|
+
};
|
|
886
|
+
readonly notosans: {
|
|
887
|
+
readonly name: "Noto Sans";
|
|
888
|
+
readonly category: "sans";
|
|
889
|
+
readonly supplied: "Noto Sans";
|
|
890
|
+
readonly stack: "'Noto Sans', 'Segoe UI', Arial, sans-serif";
|
|
891
|
+
};
|
|
892
|
+
readonly lora: {
|
|
893
|
+
readonly name: "Lora";
|
|
894
|
+
readonly category: "serif";
|
|
895
|
+
readonly supplied: "Lora";
|
|
896
|
+
readonly stack: "Lora, Georgia, 'Times New Roman', serif";
|
|
897
|
+
};
|
|
898
|
+
readonly sourceserif: {
|
|
899
|
+
readonly name: "Source Serif";
|
|
900
|
+
readonly category: "serif";
|
|
901
|
+
readonly supplied: "Source Serif 4";
|
|
902
|
+
readonly stack: "'Source Serif 4', Georgia, 'Times New Roman', serif";
|
|
903
|
+
};
|
|
904
|
+
readonly plexserif: {
|
|
905
|
+
readonly name: "IBM Plex Serif";
|
|
906
|
+
readonly category: "serif";
|
|
907
|
+
readonly supplied: "IBM Plex Serif";
|
|
908
|
+
readonly stack: "'IBM Plex Serif', Georgia, 'Times New Roman', serif";
|
|
909
|
+
};
|
|
910
|
+
readonly spectral: {
|
|
911
|
+
readonly name: "Spectral";
|
|
912
|
+
readonly category: "serif";
|
|
913
|
+
readonly supplied: "Spectral";
|
|
914
|
+
readonly stack: "Spectral, Garamond, Georgia, serif";
|
|
915
|
+
};
|
|
916
|
+
readonly playfair: {
|
|
917
|
+
readonly name: "Playfair Display";
|
|
918
|
+
readonly category: "serif";
|
|
919
|
+
readonly supplied: "Playfair Display";
|
|
920
|
+
readonly stack: "'Playfair Display', Didot, Georgia, serif";
|
|
921
|
+
};
|
|
922
|
+
readonly roboto: {
|
|
923
|
+
readonly name: "Roboto";
|
|
924
|
+
readonly category: "sans";
|
|
925
|
+
readonly supplied: "Roboto";
|
|
926
|
+
readonly stack: "Roboto, 'Helvetica Neue', Arial, sans-serif";
|
|
927
|
+
};
|
|
928
|
+
readonly sourcesans: {
|
|
929
|
+
readonly name: "Source Sans";
|
|
930
|
+
readonly category: "sans";
|
|
931
|
+
readonly supplied: "Source Sans 3";
|
|
932
|
+
readonly stack: "'Source Sans 3', 'Segoe UI', Arial, sans-serif";
|
|
933
|
+
};
|
|
934
|
+
readonly raleway: {
|
|
935
|
+
readonly name: "Raleway";
|
|
936
|
+
readonly category: "sans";
|
|
937
|
+
readonly supplied: "Raleway";
|
|
938
|
+
readonly stack: "Raleway, 'Century Gothic', Arial, sans-serif";
|
|
939
|
+
};
|
|
940
|
+
readonly latinmodern: {
|
|
941
|
+
readonly name: "Latin Modern (LaTeX)";
|
|
942
|
+
readonly category: "serif";
|
|
943
|
+
readonly supplied: "Latin Modern Roman";
|
|
944
|
+
readonly stack: "'Latin Modern Roman', 'Computer Modern', 'Times New Roman', serif";
|
|
945
|
+
};
|
|
822
946
|
};
|
|
823
947
|
export type DocumentFontId = keyof typeof DOCUMENT_FONTS;
|
|
948
|
+
/** How a picker groups the typefaces, in the order it shows them. */
|
|
949
|
+
export declare const FONT_CATEGORIES: readonly ["sans", "serif", "slab"];
|
|
950
|
+
export type FontCategory = (typeof FONT_CATEGORIES)[number];
|
|
824
951
|
export declare const DocumentFontIdSchema: z.ZodEnum<{
|
|
825
952
|
helvetica: "helvetica";
|
|
826
953
|
arial: "arial";
|
|
@@ -832,6 +959,25 @@ export declare const DocumentFontIdSchema: z.ZodEnum<{
|
|
|
832
959
|
condensed: "condensed";
|
|
833
960
|
ptserif: "ptserif";
|
|
834
961
|
bitter: "bitter";
|
|
962
|
+
inter: "inter";
|
|
963
|
+
opensans: "opensans";
|
|
964
|
+
montserrat: "montserrat";
|
|
965
|
+
plexsans: "plexsans";
|
|
966
|
+
worksans: "worksans";
|
|
967
|
+
nunitosans: "nunitosans";
|
|
968
|
+
dmsans: "dmsans";
|
|
969
|
+
firasans: "firasans";
|
|
970
|
+
librefranklin: "librefranklin";
|
|
971
|
+
notosans: "notosans";
|
|
972
|
+
lora: "lora";
|
|
973
|
+
sourceserif: "sourceserif";
|
|
974
|
+
plexserif: "plexserif";
|
|
975
|
+
spectral: "spectral";
|
|
976
|
+
playfair: "playfair";
|
|
977
|
+
roboto: "roboto";
|
|
978
|
+
sourcesans: "sourcesans";
|
|
979
|
+
raleway: "raleway";
|
|
980
|
+
latinmodern: "latinmodern";
|
|
835
981
|
}>;
|
|
836
982
|
/**
|
|
837
983
|
* Inks a document (or one line of it) may be set in.
|
|
@@ -865,15 +1011,55 @@ export declare const INK_COLORS: {
|
|
|
865
1011
|
readonly name: "Grey";
|
|
866
1012
|
readonly hex: "#5a5a5a";
|
|
867
1013
|
};
|
|
1014
|
+
readonly charcoal: {
|
|
1015
|
+
readonly name: "Charcoal";
|
|
1016
|
+
readonly hex: "#2e3236";
|
|
1017
|
+
};
|
|
1018
|
+
readonly cobalt: {
|
|
1019
|
+
readonly name: "Cobalt";
|
|
1020
|
+
readonly hex: "#1d4a91";
|
|
1021
|
+
};
|
|
1022
|
+
readonly indigo: {
|
|
1023
|
+
readonly name: "Indigo";
|
|
1024
|
+
readonly hex: "#2f3878";
|
|
1025
|
+
};
|
|
1026
|
+
readonly teal: {
|
|
1027
|
+
readonly name: "Teal";
|
|
1028
|
+
readonly hex: "#0f5257";
|
|
1029
|
+
};
|
|
1030
|
+
readonly olive: {
|
|
1031
|
+
readonly name: "Olive";
|
|
1032
|
+
readonly hex: "#404a1c";
|
|
1033
|
+
};
|
|
1034
|
+
readonly plum: {
|
|
1035
|
+
readonly name: "Plum";
|
|
1036
|
+
readonly hex: "#4e2a5a";
|
|
1037
|
+
};
|
|
1038
|
+
readonly rust: {
|
|
1039
|
+
readonly name: "Rust";
|
|
1040
|
+
readonly hex: "#7c3416";
|
|
1041
|
+
};
|
|
1042
|
+
readonly brown: {
|
|
1043
|
+
readonly name: "Brown";
|
|
1044
|
+
readonly hex: "#57382a";
|
|
1045
|
+
};
|
|
868
1046
|
};
|
|
869
1047
|
export type InkId = keyof typeof INK_COLORS;
|
|
870
1048
|
export declare const InkIdSchema: z.ZodEnum<{
|
|
1049
|
+
cobalt: "cobalt";
|
|
871
1050
|
ink: "ink";
|
|
872
1051
|
slate: "slate";
|
|
873
1052
|
navy: "navy";
|
|
874
1053
|
maroon: "maroon";
|
|
875
1054
|
forest: "forest";
|
|
876
1055
|
grey: "grey";
|
|
1056
|
+
charcoal: "charcoal";
|
|
1057
|
+
indigo: "indigo";
|
|
1058
|
+
teal: "teal";
|
|
1059
|
+
olive: "olive";
|
|
1060
|
+
plum: "plum";
|
|
1061
|
+
rust: "rust";
|
|
1062
|
+
brown: "brown";
|
|
877
1063
|
}>;
|
|
878
1064
|
/**
|
|
879
1065
|
* How open the document's vertical rhythm is — a MULTIPLIER on the template's
|
|
@@ -1010,8 +1196,112 @@ export declare const SCALE_MIN = 0.85;
|
|
|
1010
1196
|
export declare const SCALE_MAX = 1.2;
|
|
1011
1197
|
export declare const SCALE_STEP = 0.05;
|
|
1012
1198
|
export declare const SCALE_DEFAULT = 1;
|
|
1199
|
+
/**
|
|
1200
|
+
* Sizes for one role of the document — the name, the section headings, the body
|
|
1201
|
+
* text — as a multiplier on what the template (and the overall scale) already
|
|
1202
|
+
* set for that role. Bounded and stepped like the scale, so there is still no
|
|
1203
|
+
* free numeric size; absent means the template's own size for the role.
|
|
1204
|
+
*/
|
|
1205
|
+
export declare const ROLE_SIZE_MIN = 0.8;
|
|
1206
|
+
export declare const ROLE_SIZE_MAX = 1.3;
|
|
1207
|
+
export declare const ROLE_SIZE_STEP = 0.05;
|
|
1208
|
+
export declare const ROLE_SIZE_DEFAULT = 1;
|
|
1209
|
+
export declare const DOCUMENT_ROLES: readonly ["name", "heading", "body"];
|
|
1210
|
+
export type DocumentRole = (typeof DOCUMENT_ROLES)[number];
|
|
1211
|
+
/** Round a role size onto its step, within its bounds. */
|
|
1212
|
+
export declare function normalizeRoleSize(value: number): number;
|
|
1013
1213
|
/** Round to the nearest representable scale, clamped to the bounds. */
|
|
1014
1214
|
export declare function normalizeScale(value: number): number;
|
|
1215
|
+
/**
|
|
1216
|
+
* How far apart the letters of the document's text sit — an override of the
|
|
1217
|
+
* template's tracking, chosen from presets, never a free number.
|
|
1218
|
+
*
|
|
1219
|
+
* Absent means the template's own tracking, which is what every stored
|
|
1220
|
+
* document has. Headings keep the template's tracking either way: it is part of
|
|
1221
|
+
* how a heading is drawn (an uppercase rule is tracked open on purpose), and
|
|
1222
|
+
* {@link HEADING_CASES} owns it when the candidate changes the heading's case.
|
|
1223
|
+
*/
|
|
1224
|
+
export declare const LETTER_SPACINGS: {
|
|
1225
|
+
readonly tight: {
|
|
1226
|
+
readonly name: "Tight";
|
|
1227
|
+
readonly em: -0.01;
|
|
1228
|
+
};
|
|
1229
|
+
readonly wide: {
|
|
1230
|
+
readonly name: "Wide";
|
|
1231
|
+
readonly em: 0.02;
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
export type LetterSpacingId = keyof typeof LETTER_SPACINGS;
|
|
1235
|
+
export declare const LetterSpacingIdSchema: z.ZodEnum<{
|
|
1236
|
+
tight: "tight";
|
|
1237
|
+
wide: "wide";
|
|
1238
|
+
}>;
|
|
1239
|
+
/**
|
|
1240
|
+
* The distance between lines of the document's text, as a unitless line height
|
|
1241
|
+
* from presets. Absent means the template's own leading. Headings keep theirs.
|
|
1242
|
+
*/
|
|
1243
|
+
export declare const LINE_HEIGHTS: {
|
|
1244
|
+
readonly compact: {
|
|
1245
|
+
readonly name: "Compact";
|
|
1246
|
+
readonly value: 1.15;
|
|
1247
|
+
};
|
|
1248
|
+
readonly relaxed: {
|
|
1249
|
+
readonly name: "Relaxed";
|
|
1250
|
+
readonly value: 1.4;
|
|
1251
|
+
};
|
|
1252
|
+
readonly airy: {
|
|
1253
|
+
readonly name: "Airy";
|
|
1254
|
+
readonly value: 1.55;
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
export type LineHeightId = keyof typeof LINE_HEIGHTS;
|
|
1258
|
+
export declare const LineHeightIdSchema: z.ZodEnum<{
|
|
1259
|
+
compact: "compact";
|
|
1260
|
+
relaxed: "relaxed";
|
|
1261
|
+
airy: "airy";
|
|
1262
|
+
}>;
|
|
1263
|
+
/**
|
|
1264
|
+
* How section headings are cased. A presentation of the heading, never its
|
|
1265
|
+
* text: the stored heading is unchanged, so copy-out and ATS extraction read
|
|
1266
|
+
* what the candidate wrote. Absent means the template's own casing.
|
|
1267
|
+
*/
|
|
1268
|
+
export declare const HEADING_CASES: {
|
|
1269
|
+
readonly normal: {
|
|
1270
|
+
readonly name: "As written";
|
|
1271
|
+
};
|
|
1272
|
+
readonly upper: {
|
|
1273
|
+
readonly name: "Uppercase";
|
|
1274
|
+
};
|
|
1275
|
+
readonly smallcaps: {
|
|
1276
|
+
readonly name: "Small caps";
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
export type HeadingCaseId = keyof typeof HEADING_CASES;
|
|
1280
|
+
export declare const HeadingCaseIdSchema: z.ZodEnum<{
|
|
1281
|
+
normal: "normal";
|
|
1282
|
+
upper: "upper";
|
|
1283
|
+
smallcaps: "smallcaps";
|
|
1284
|
+
}>;
|
|
1285
|
+
/**
|
|
1286
|
+
* How heavy section headings are. Two weights, because every font in
|
|
1287
|
+
* {@link DOCUMENT_FONTS} ships both, so no choice falls back to a synthesised
|
|
1288
|
+
* weight. Absent means the template's own weight.
|
|
1289
|
+
*/
|
|
1290
|
+
export declare const HEADING_WEIGHTS: {
|
|
1291
|
+
readonly regular: {
|
|
1292
|
+
readonly name: "Regular";
|
|
1293
|
+
readonly weight: 400;
|
|
1294
|
+
};
|
|
1295
|
+
readonly bold: {
|
|
1296
|
+
readonly name: "Bold";
|
|
1297
|
+
readonly weight: 700;
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
export type HeadingWeightId = keyof typeof HEADING_WEIGHTS;
|
|
1301
|
+
export declare const HeadingWeightIdSchema: z.ZodEnum<{
|
|
1302
|
+
bold: "bold";
|
|
1303
|
+
regular: "regular";
|
|
1304
|
+
}>;
|
|
1015
1305
|
/**
|
|
1016
1306
|
* How the whole document is set. Absent means the template's own defaults — a
|
|
1017
1307
|
* resume nobody has styled renders exactly as the template defines it.
|
|
@@ -1028,29 +1318,116 @@ export declare const DocumentStyleSchema: z.ZodObject<{
|
|
|
1028
1318
|
condensed: "condensed";
|
|
1029
1319
|
ptserif: "ptserif";
|
|
1030
1320
|
bitter: "bitter";
|
|
1321
|
+
inter: "inter";
|
|
1322
|
+
opensans: "opensans";
|
|
1323
|
+
montserrat: "montserrat";
|
|
1324
|
+
plexsans: "plexsans";
|
|
1325
|
+
worksans: "worksans";
|
|
1326
|
+
nunitosans: "nunitosans";
|
|
1327
|
+
dmsans: "dmsans";
|
|
1328
|
+
firasans: "firasans";
|
|
1329
|
+
librefranklin: "librefranklin";
|
|
1330
|
+
notosans: "notosans";
|
|
1331
|
+
lora: "lora";
|
|
1332
|
+
sourceserif: "sourceserif";
|
|
1333
|
+
plexserif: "plexserif";
|
|
1334
|
+
spectral: "spectral";
|
|
1335
|
+
playfair: "playfair";
|
|
1336
|
+
roboto: "roboto";
|
|
1337
|
+
sourcesans: "sourcesans";
|
|
1338
|
+
raleway: "raleway";
|
|
1339
|
+
latinmodern: "latinmodern";
|
|
1031
1340
|
}>;
|
|
1032
1341
|
ink: z.ZodEnum<{
|
|
1342
|
+
cobalt: "cobalt";
|
|
1033
1343
|
ink: "ink";
|
|
1034
1344
|
slate: "slate";
|
|
1035
1345
|
navy: "navy";
|
|
1036
1346
|
maroon: "maroon";
|
|
1037
1347
|
forest: "forest";
|
|
1038
1348
|
grey: "grey";
|
|
1349
|
+
charcoal: "charcoal";
|
|
1350
|
+
indigo: "indigo";
|
|
1351
|
+
teal: "teal";
|
|
1352
|
+
olive: "olive";
|
|
1353
|
+
plum: "plum";
|
|
1354
|
+
rust: "rust";
|
|
1355
|
+
brown: "brown";
|
|
1039
1356
|
}>;
|
|
1040
1357
|
scale: z.ZodNumber;
|
|
1041
1358
|
accent: z.ZodOptional<z.ZodEnum<{
|
|
1359
|
+
cobalt: "cobalt";
|
|
1042
1360
|
ink: "ink";
|
|
1043
1361
|
slate: "slate";
|
|
1044
1362
|
navy: "navy";
|
|
1045
1363
|
maroon: "maroon";
|
|
1046
1364
|
forest: "forest";
|
|
1047
1365
|
grey: "grey";
|
|
1366
|
+
charcoal: "charcoal";
|
|
1367
|
+
indigo: "indigo";
|
|
1368
|
+
teal: "teal";
|
|
1369
|
+
olive: "olive";
|
|
1370
|
+
plum: "plum";
|
|
1371
|
+
rust: "rust";
|
|
1372
|
+
brown: "brown";
|
|
1048
1373
|
}>>;
|
|
1049
1374
|
density: z.ZodOptional<z.ZodEnum<{
|
|
1050
1375
|
tight: "tight";
|
|
1051
1376
|
normal: "normal";
|
|
1052
1377
|
roomy: "roomy";
|
|
1053
1378
|
}>>;
|
|
1379
|
+
tracking: z.ZodOptional<z.ZodEnum<{
|
|
1380
|
+
tight: "tight";
|
|
1381
|
+
wide: "wide";
|
|
1382
|
+
}>>;
|
|
1383
|
+
leading: z.ZodOptional<z.ZodEnum<{
|
|
1384
|
+
compact: "compact";
|
|
1385
|
+
relaxed: "relaxed";
|
|
1386
|
+
airy: "airy";
|
|
1387
|
+
}>>;
|
|
1388
|
+
headingFont: z.ZodOptional<z.ZodEnum<{
|
|
1389
|
+
helvetica: "helvetica";
|
|
1390
|
+
arial: "arial";
|
|
1391
|
+
calibri: "calibri";
|
|
1392
|
+
georgia: "georgia";
|
|
1393
|
+
garamond: "garamond";
|
|
1394
|
+
times: "times";
|
|
1395
|
+
lato: "lato";
|
|
1396
|
+
condensed: "condensed";
|
|
1397
|
+
ptserif: "ptserif";
|
|
1398
|
+
bitter: "bitter";
|
|
1399
|
+
inter: "inter";
|
|
1400
|
+
opensans: "opensans";
|
|
1401
|
+
montserrat: "montserrat";
|
|
1402
|
+
plexsans: "plexsans";
|
|
1403
|
+
worksans: "worksans";
|
|
1404
|
+
nunitosans: "nunitosans";
|
|
1405
|
+
dmsans: "dmsans";
|
|
1406
|
+
firasans: "firasans";
|
|
1407
|
+
librefranklin: "librefranklin";
|
|
1408
|
+
notosans: "notosans";
|
|
1409
|
+
lora: "lora";
|
|
1410
|
+
sourceserif: "sourceserif";
|
|
1411
|
+
plexserif: "plexserif";
|
|
1412
|
+
spectral: "spectral";
|
|
1413
|
+
playfair: "playfair";
|
|
1414
|
+
roboto: "roboto";
|
|
1415
|
+
sourcesans: "sourcesans";
|
|
1416
|
+
raleway: "raleway";
|
|
1417
|
+
latinmodern: "latinmodern";
|
|
1418
|
+
}>>;
|
|
1419
|
+
headingCase: z.ZodOptional<z.ZodEnum<{
|
|
1420
|
+
normal: "normal";
|
|
1421
|
+
upper: "upper";
|
|
1422
|
+
smallcaps: "smallcaps";
|
|
1423
|
+
}>>;
|
|
1424
|
+
headingWeight: z.ZodOptional<z.ZodEnum<{
|
|
1425
|
+
bold: "bold";
|
|
1426
|
+
regular: "regular";
|
|
1427
|
+
}>>;
|
|
1428
|
+
nameSize: z.ZodOptional<z.ZodNumber>;
|
|
1429
|
+
headingSize: z.ZodOptional<z.ZodNumber>;
|
|
1430
|
+
bodySize: z.ZodOptional<z.ZodNumber>;
|
|
1054
1431
|
}, z.core.$strip>;
|
|
1055
1432
|
export type DocumentStyle = z.infer<typeof DocumentStyleSchema>;
|
|
1056
1433
|
/** How one line is set, over and above the document's own style. */
|
|
@@ -1060,21 +1437,55 @@ export declare const FieldAlignSchema: z.ZodEnum<{
|
|
|
1060
1437
|
right: "right";
|
|
1061
1438
|
}>;
|
|
1062
1439
|
export type FieldAlign = z.infer<typeof FieldAlignSchema>;
|
|
1440
|
+
/**
|
|
1441
|
+
* One step smaller or larger than the template sets the line. A step, not a
|
|
1442
|
+
* size: the template's proportions hold, so a stepped-up bullet still reads
|
|
1443
|
+
* smaller than a heading.
|
|
1444
|
+
*/
|
|
1445
|
+
export declare const FIELD_STEPS: {
|
|
1446
|
+
readonly smaller: {
|
|
1447
|
+
readonly name: "Smaller";
|
|
1448
|
+
readonly factor: 0.9;
|
|
1449
|
+
};
|
|
1450
|
+
readonly larger: {
|
|
1451
|
+
readonly name: "Larger";
|
|
1452
|
+
readonly factor: 1.12;
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
export type FieldStepId = keyof typeof FIELD_STEPS;
|
|
1456
|
+
export declare const FieldStepSchema: z.ZodEnum<{
|
|
1457
|
+
smaller: "smaller";
|
|
1458
|
+
larger: "larger";
|
|
1459
|
+
}>;
|
|
1063
1460
|
export declare const FieldFormatSchema: z.ZodObject<{
|
|
1064
1461
|
path: z.ZodString;
|
|
1065
1462
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1464
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
1466
|
+
smaller: "smaller";
|
|
1467
|
+
larger: "larger";
|
|
1468
|
+
}>>;
|
|
1066
1469
|
align: z.ZodOptional<z.ZodEnum<{
|
|
1067
1470
|
left: "left";
|
|
1068
1471
|
center: "center";
|
|
1069
1472
|
right: "right";
|
|
1070
1473
|
}>>;
|
|
1071
1474
|
ink: z.ZodOptional<z.ZodEnum<{
|
|
1475
|
+
cobalt: "cobalt";
|
|
1072
1476
|
ink: "ink";
|
|
1073
1477
|
slate: "slate";
|
|
1074
1478
|
navy: "navy";
|
|
1075
1479
|
maroon: "maroon";
|
|
1076
1480
|
forest: "forest";
|
|
1077
1481
|
grey: "grey";
|
|
1482
|
+
charcoal: "charcoal";
|
|
1483
|
+
indigo: "indigo";
|
|
1484
|
+
teal: "teal";
|
|
1485
|
+
olive: "olive";
|
|
1486
|
+
plum: "plum";
|
|
1487
|
+
rust: "rust";
|
|
1488
|
+
brown: "brown";
|
|
1078
1489
|
}>>;
|
|
1079
1490
|
space: z.ZodOptional<z.ZodEnum<{
|
|
1080
1491
|
[x: string]: string;
|
|
@@ -1094,18 +1505,32 @@ export declare function formatIsEmpty(format: FieldFormat): boolean;
|
|
|
1094
1505
|
export declare const ResumeFormatsSchema: z.ZodArray<z.ZodObject<{
|
|
1095
1506
|
path: z.ZodString;
|
|
1096
1507
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1508
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1510
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
1511
|
+
smaller: "smaller";
|
|
1512
|
+
larger: "larger";
|
|
1513
|
+
}>>;
|
|
1097
1514
|
align: z.ZodOptional<z.ZodEnum<{
|
|
1098
1515
|
left: "left";
|
|
1099
1516
|
center: "center";
|
|
1100
1517
|
right: "right";
|
|
1101
1518
|
}>>;
|
|
1102
1519
|
ink: z.ZodOptional<z.ZodEnum<{
|
|
1520
|
+
cobalt: "cobalt";
|
|
1103
1521
|
ink: "ink";
|
|
1104
1522
|
slate: "slate";
|
|
1105
1523
|
navy: "navy";
|
|
1106
1524
|
maroon: "maroon";
|
|
1107
1525
|
forest: "forest";
|
|
1108
1526
|
grey: "grey";
|
|
1527
|
+
charcoal: "charcoal";
|
|
1528
|
+
indigo: "indigo";
|
|
1529
|
+
teal: "teal";
|
|
1530
|
+
olive: "olive";
|
|
1531
|
+
plum: "plum";
|
|
1532
|
+
rust: "rust";
|
|
1533
|
+
brown: "brown";
|
|
1109
1534
|
}>>;
|
|
1110
1535
|
space: z.ZodOptional<z.ZodEnum<{
|
|
1111
1536
|
[x: string]: string;
|
|
@@ -1170,12 +1595,106 @@ export declare const THEMES: {
|
|
|
1170
1595
|
readonly density: "normal";
|
|
1171
1596
|
};
|
|
1172
1597
|
};
|
|
1598
|
+
readonly minimal: {
|
|
1599
|
+
readonly name: "Minimal";
|
|
1600
|
+
readonly description: "Quiet, light headings";
|
|
1601
|
+
readonly style: {
|
|
1602
|
+
readonly font: "inter";
|
|
1603
|
+
readonly ink: "charcoal";
|
|
1604
|
+
readonly accent: "grey";
|
|
1605
|
+
readonly density: "roomy";
|
|
1606
|
+
readonly headingWeight: "regular";
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1609
|
+
readonly corporate: {
|
|
1610
|
+
readonly name: "Corporate";
|
|
1611
|
+
readonly description: "Clean and businesslike";
|
|
1612
|
+
readonly style: {
|
|
1613
|
+
readonly font: "opensans";
|
|
1614
|
+
readonly ink: "slate";
|
|
1615
|
+
readonly accent: "cobalt";
|
|
1616
|
+
readonly density: "normal";
|
|
1617
|
+
readonly headingCase: "upper";
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
readonly tech: {
|
|
1621
|
+
readonly name: "Tech";
|
|
1622
|
+
readonly description: "Precise and compact";
|
|
1623
|
+
readonly style: {
|
|
1624
|
+
readonly font: "plexsans";
|
|
1625
|
+
readonly ink: "charcoal";
|
|
1626
|
+
readonly accent: "teal";
|
|
1627
|
+
readonly density: "tight";
|
|
1628
|
+
readonly headingFont: "plexserif";
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
readonly boardroom: {
|
|
1632
|
+
readonly name: "Boardroom";
|
|
1633
|
+
readonly description: "Stately small capitals";
|
|
1634
|
+
readonly style: {
|
|
1635
|
+
readonly font: "garamond";
|
|
1636
|
+
readonly ink: "ink";
|
|
1637
|
+
readonly accent: "navy";
|
|
1638
|
+
readonly density: "normal";
|
|
1639
|
+
readonly headingCase: "smallcaps";
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
readonly editorial: {
|
|
1643
|
+
readonly name: "Editorial";
|
|
1644
|
+
readonly description: "Warm magazine serif";
|
|
1645
|
+
readonly style: {
|
|
1646
|
+
readonly font: "lora";
|
|
1647
|
+
readonly ink: "brown";
|
|
1648
|
+
readonly accent: "rust";
|
|
1649
|
+
readonly density: "normal";
|
|
1650
|
+
readonly headingFont: "montserrat";
|
|
1651
|
+
readonly headingCase: "upper";
|
|
1652
|
+
};
|
|
1653
|
+
};
|
|
1654
|
+
readonly creative: {
|
|
1655
|
+
readonly name: "Creative";
|
|
1656
|
+
readonly description: "Expressive display headings";
|
|
1657
|
+
readonly style: {
|
|
1658
|
+
readonly font: "worksans";
|
|
1659
|
+
readonly ink: "charcoal";
|
|
1660
|
+
readonly accent: "plum";
|
|
1661
|
+
readonly density: "roomy";
|
|
1662
|
+
readonly headingFont: "playfair";
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
readonly fresh: {
|
|
1666
|
+
readonly name: "Fresh";
|
|
1667
|
+
readonly description: "Friendly and airy";
|
|
1668
|
+
readonly style: {
|
|
1669
|
+
readonly font: "nunitosans";
|
|
1670
|
+
readonly ink: "slate";
|
|
1671
|
+
readonly accent: "forest";
|
|
1672
|
+
readonly density: "roomy";
|
|
1673
|
+
readonly leading: "relaxed";
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
readonly latex: {
|
|
1677
|
+
readonly name: "LaTeX";
|
|
1678
|
+
readonly description: "The look of a typeset paper";
|
|
1679
|
+
readonly style: {
|
|
1680
|
+
readonly font: "latinmodern";
|
|
1681
|
+
readonly ink: "ink";
|
|
1682
|
+
readonly accent: "ink";
|
|
1683
|
+
readonly density: "normal";
|
|
1684
|
+
readonly headingCase: "smallcaps";
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1173
1687
|
};
|
|
1688
|
+
/**
|
|
1689
|
+
* What a theme speaks to. Applying one clears all of these before setting its
|
|
1690
|
+
* own, so a heading case one theme chose does not leak into the next.
|
|
1691
|
+
*/
|
|
1692
|
+
export declare const THEME_KEYS: readonly ["font", "ink", "accent", "density", "headingFont", "headingCase", "headingWeight", "tracking", "leading"];
|
|
1174
1693
|
export type ThemeId = keyof typeof THEMES;
|
|
1175
1694
|
/**
|
|
1176
1695
|
* Apply a theme, preserving what the theme does not speak to.
|
|
1177
1696
|
*
|
|
1178
|
-
* The size scale
|
|
1697
|
+
* The size scale and the role sizes survive: they are how a candidate fits their resume on one page,
|
|
1179
1698
|
* which is a decision about THEIR document rather than about its styling, and
|
|
1180
1699
|
* silently resetting it would undo work a theme has no opinion about.
|
|
1181
1700
|
*/
|
|
@@ -1353,45 +1872,146 @@ export declare const ResumePresentationSchema: z.ZodObject<{
|
|
|
1353
1872
|
condensed: "condensed";
|
|
1354
1873
|
ptserif: "ptserif";
|
|
1355
1874
|
bitter: "bitter";
|
|
1875
|
+
inter: "inter";
|
|
1876
|
+
opensans: "opensans";
|
|
1877
|
+
montserrat: "montserrat";
|
|
1878
|
+
plexsans: "plexsans";
|
|
1879
|
+
worksans: "worksans";
|
|
1880
|
+
nunitosans: "nunitosans";
|
|
1881
|
+
dmsans: "dmsans";
|
|
1882
|
+
firasans: "firasans";
|
|
1883
|
+
librefranklin: "librefranklin";
|
|
1884
|
+
notosans: "notosans";
|
|
1885
|
+
lora: "lora";
|
|
1886
|
+
sourceserif: "sourceserif";
|
|
1887
|
+
plexserif: "plexserif";
|
|
1888
|
+
spectral: "spectral";
|
|
1889
|
+
playfair: "playfair";
|
|
1890
|
+
roboto: "roboto";
|
|
1891
|
+
sourcesans: "sourcesans";
|
|
1892
|
+
raleway: "raleway";
|
|
1893
|
+
latinmodern: "latinmodern";
|
|
1356
1894
|
}>;
|
|
1357
1895
|
ink: z.ZodEnum<{
|
|
1896
|
+
cobalt: "cobalt";
|
|
1358
1897
|
ink: "ink";
|
|
1359
1898
|
slate: "slate";
|
|
1360
1899
|
navy: "navy";
|
|
1361
1900
|
maroon: "maroon";
|
|
1362
1901
|
forest: "forest";
|
|
1363
1902
|
grey: "grey";
|
|
1903
|
+
charcoal: "charcoal";
|
|
1904
|
+
indigo: "indigo";
|
|
1905
|
+
teal: "teal";
|
|
1906
|
+
olive: "olive";
|
|
1907
|
+
plum: "plum";
|
|
1908
|
+
rust: "rust";
|
|
1909
|
+
brown: "brown";
|
|
1364
1910
|
}>;
|
|
1365
1911
|
scale: z.ZodNumber;
|
|
1366
1912
|
accent: z.ZodOptional<z.ZodEnum<{
|
|
1913
|
+
cobalt: "cobalt";
|
|
1367
1914
|
ink: "ink";
|
|
1368
1915
|
slate: "slate";
|
|
1369
1916
|
navy: "navy";
|
|
1370
1917
|
maroon: "maroon";
|
|
1371
1918
|
forest: "forest";
|
|
1372
1919
|
grey: "grey";
|
|
1920
|
+
charcoal: "charcoal";
|
|
1921
|
+
indigo: "indigo";
|
|
1922
|
+
teal: "teal";
|
|
1923
|
+
olive: "olive";
|
|
1924
|
+
plum: "plum";
|
|
1925
|
+
rust: "rust";
|
|
1926
|
+
brown: "brown";
|
|
1373
1927
|
}>>;
|
|
1374
1928
|
density: z.ZodOptional<z.ZodEnum<{
|
|
1375
1929
|
tight: "tight";
|
|
1376
1930
|
normal: "normal";
|
|
1377
1931
|
roomy: "roomy";
|
|
1378
1932
|
}>>;
|
|
1933
|
+
tracking: z.ZodOptional<z.ZodEnum<{
|
|
1934
|
+
tight: "tight";
|
|
1935
|
+
wide: "wide";
|
|
1936
|
+
}>>;
|
|
1937
|
+
leading: z.ZodOptional<z.ZodEnum<{
|
|
1938
|
+
compact: "compact";
|
|
1939
|
+
relaxed: "relaxed";
|
|
1940
|
+
airy: "airy";
|
|
1941
|
+
}>>;
|
|
1942
|
+
headingFont: z.ZodOptional<z.ZodEnum<{
|
|
1943
|
+
helvetica: "helvetica";
|
|
1944
|
+
arial: "arial";
|
|
1945
|
+
calibri: "calibri";
|
|
1946
|
+
georgia: "georgia";
|
|
1947
|
+
garamond: "garamond";
|
|
1948
|
+
times: "times";
|
|
1949
|
+
lato: "lato";
|
|
1950
|
+
condensed: "condensed";
|
|
1951
|
+
ptserif: "ptserif";
|
|
1952
|
+
bitter: "bitter";
|
|
1953
|
+
inter: "inter";
|
|
1954
|
+
opensans: "opensans";
|
|
1955
|
+
montserrat: "montserrat";
|
|
1956
|
+
plexsans: "plexsans";
|
|
1957
|
+
worksans: "worksans";
|
|
1958
|
+
nunitosans: "nunitosans";
|
|
1959
|
+
dmsans: "dmsans";
|
|
1960
|
+
firasans: "firasans";
|
|
1961
|
+
librefranklin: "librefranklin";
|
|
1962
|
+
notosans: "notosans";
|
|
1963
|
+
lora: "lora";
|
|
1964
|
+
sourceserif: "sourceserif";
|
|
1965
|
+
plexserif: "plexserif";
|
|
1966
|
+
spectral: "spectral";
|
|
1967
|
+
playfair: "playfair";
|
|
1968
|
+
roboto: "roboto";
|
|
1969
|
+
sourcesans: "sourcesans";
|
|
1970
|
+
raleway: "raleway";
|
|
1971
|
+
latinmodern: "latinmodern";
|
|
1972
|
+
}>>;
|
|
1973
|
+
headingCase: z.ZodOptional<z.ZodEnum<{
|
|
1974
|
+
normal: "normal";
|
|
1975
|
+
upper: "upper";
|
|
1976
|
+
smallcaps: "smallcaps";
|
|
1977
|
+
}>>;
|
|
1978
|
+
headingWeight: z.ZodOptional<z.ZodEnum<{
|
|
1979
|
+
bold: "bold";
|
|
1980
|
+
regular: "regular";
|
|
1981
|
+
}>>;
|
|
1982
|
+
nameSize: z.ZodOptional<z.ZodNumber>;
|
|
1983
|
+
headingSize: z.ZodOptional<z.ZodNumber>;
|
|
1984
|
+
bodySize: z.ZodOptional<z.ZodNumber>;
|
|
1379
1985
|
}, z.core.$strip>>;
|
|
1380
1986
|
formats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1381
1987
|
path: z.ZodString;
|
|
1382
1988
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1990
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1991
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
1992
|
+
smaller: "smaller";
|
|
1993
|
+
larger: "larger";
|
|
1994
|
+
}>>;
|
|
1383
1995
|
align: z.ZodOptional<z.ZodEnum<{
|
|
1384
1996
|
left: "left";
|
|
1385
1997
|
center: "center";
|
|
1386
1998
|
right: "right";
|
|
1387
1999
|
}>>;
|
|
1388
2000
|
ink: z.ZodOptional<z.ZodEnum<{
|
|
2001
|
+
cobalt: "cobalt";
|
|
1389
2002
|
ink: "ink";
|
|
1390
2003
|
slate: "slate";
|
|
1391
2004
|
navy: "navy";
|
|
1392
2005
|
maroon: "maroon";
|
|
1393
2006
|
forest: "forest";
|
|
1394
2007
|
grey: "grey";
|
|
2008
|
+
charcoal: "charcoal";
|
|
2009
|
+
indigo: "indigo";
|
|
2010
|
+
teal: "teal";
|
|
2011
|
+
olive: "olive";
|
|
2012
|
+
plum: "plum";
|
|
2013
|
+
rust: "rust";
|
|
2014
|
+
brown: "brown";
|
|
1395
2015
|
}>>;
|
|
1396
2016
|
space: z.ZodOptional<z.ZodEnum<{
|
|
1397
2017
|
[x: string]: string;
|
|
@@ -1534,45 +2154,146 @@ export declare const PutPresentationRequestSchema: z.ZodObject<{
|
|
|
1534
2154
|
condensed: "condensed";
|
|
1535
2155
|
ptserif: "ptserif";
|
|
1536
2156
|
bitter: "bitter";
|
|
2157
|
+
inter: "inter";
|
|
2158
|
+
opensans: "opensans";
|
|
2159
|
+
montserrat: "montserrat";
|
|
2160
|
+
plexsans: "plexsans";
|
|
2161
|
+
worksans: "worksans";
|
|
2162
|
+
nunitosans: "nunitosans";
|
|
2163
|
+
dmsans: "dmsans";
|
|
2164
|
+
firasans: "firasans";
|
|
2165
|
+
librefranklin: "librefranklin";
|
|
2166
|
+
notosans: "notosans";
|
|
2167
|
+
lora: "lora";
|
|
2168
|
+
sourceserif: "sourceserif";
|
|
2169
|
+
plexserif: "plexserif";
|
|
2170
|
+
spectral: "spectral";
|
|
2171
|
+
playfair: "playfair";
|
|
2172
|
+
roboto: "roboto";
|
|
2173
|
+
sourcesans: "sourcesans";
|
|
2174
|
+
raleway: "raleway";
|
|
2175
|
+
latinmodern: "latinmodern";
|
|
1537
2176
|
}>;
|
|
1538
2177
|
ink: z.ZodEnum<{
|
|
2178
|
+
cobalt: "cobalt";
|
|
1539
2179
|
ink: "ink";
|
|
1540
2180
|
slate: "slate";
|
|
1541
2181
|
navy: "navy";
|
|
1542
2182
|
maroon: "maroon";
|
|
1543
2183
|
forest: "forest";
|
|
1544
2184
|
grey: "grey";
|
|
2185
|
+
charcoal: "charcoal";
|
|
2186
|
+
indigo: "indigo";
|
|
2187
|
+
teal: "teal";
|
|
2188
|
+
olive: "olive";
|
|
2189
|
+
plum: "plum";
|
|
2190
|
+
rust: "rust";
|
|
2191
|
+
brown: "brown";
|
|
1545
2192
|
}>;
|
|
1546
2193
|
scale: z.ZodNumber;
|
|
1547
2194
|
accent: z.ZodOptional<z.ZodEnum<{
|
|
2195
|
+
cobalt: "cobalt";
|
|
1548
2196
|
ink: "ink";
|
|
1549
2197
|
slate: "slate";
|
|
1550
2198
|
navy: "navy";
|
|
1551
2199
|
maroon: "maroon";
|
|
1552
2200
|
forest: "forest";
|
|
1553
2201
|
grey: "grey";
|
|
2202
|
+
charcoal: "charcoal";
|
|
2203
|
+
indigo: "indigo";
|
|
2204
|
+
teal: "teal";
|
|
2205
|
+
olive: "olive";
|
|
2206
|
+
plum: "plum";
|
|
2207
|
+
rust: "rust";
|
|
2208
|
+
brown: "brown";
|
|
1554
2209
|
}>>;
|
|
1555
2210
|
density: z.ZodOptional<z.ZodEnum<{
|
|
1556
2211
|
tight: "tight";
|
|
1557
2212
|
normal: "normal";
|
|
1558
2213
|
roomy: "roomy";
|
|
1559
2214
|
}>>;
|
|
2215
|
+
tracking: z.ZodOptional<z.ZodEnum<{
|
|
2216
|
+
tight: "tight";
|
|
2217
|
+
wide: "wide";
|
|
2218
|
+
}>>;
|
|
2219
|
+
leading: z.ZodOptional<z.ZodEnum<{
|
|
2220
|
+
compact: "compact";
|
|
2221
|
+
relaxed: "relaxed";
|
|
2222
|
+
airy: "airy";
|
|
2223
|
+
}>>;
|
|
2224
|
+
headingFont: z.ZodOptional<z.ZodEnum<{
|
|
2225
|
+
helvetica: "helvetica";
|
|
2226
|
+
arial: "arial";
|
|
2227
|
+
calibri: "calibri";
|
|
2228
|
+
georgia: "georgia";
|
|
2229
|
+
garamond: "garamond";
|
|
2230
|
+
times: "times";
|
|
2231
|
+
lato: "lato";
|
|
2232
|
+
condensed: "condensed";
|
|
2233
|
+
ptserif: "ptserif";
|
|
2234
|
+
bitter: "bitter";
|
|
2235
|
+
inter: "inter";
|
|
2236
|
+
opensans: "opensans";
|
|
2237
|
+
montserrat: "montserrat";
|
|
2238
|
+
plexsans: "plexsans";
|
|
2239
|
+
worksans: "worksans";
|
|
2240
|
+
nunitosans: "nunitosans";
|
|
2241
|
+
dmsans: "dmsans";
|
|
2242
|
+
firasans: "firasans";
|
|
2243
|
+
librefranklin: "librefranklin";
|
|
2244
|
+
notosans: "notosans";
|
|
2245
|
+
lora: "lora";
|
|
2246
|
+
sourceserif: "sourceserif";
|
|
2247
|
+
plexserif: "plexserif";
|
|
2248
|
+
spectral: "spectral";
|
|
2249
|
+
playfair: "playfair";
|
|
2250
|
+
roboto: "roboto";
|
|
2251
|
+
sourcesans: "sourcesans";
|
|
2252
|
+
raleway: "raleway";
|
|
2253
|
+
latinmodern: "latinmodern";
|
|
2254
|
+
}>>;
|
|
2255
|
+
headingCase: z.ZodOptional<z.ZodEnum<{
|
|
2256
|
+
normal: "normal";
|
|
2257
|
+
upper: "upper";
|
|
2258
|
+
smallcaps: "smallcaps";
|
|
2259
|
+
}>>;
|
|
2260
|
+
headingWeight: z.ZodOptional<z.ZodEnum<{
|
|
2261
|
+
bold: "bold";
|
|
2262
|
+
regular: "regular";
|
|
2263
|
+
}>>;
|
|
2264
|
+
nameSize: z.ZodOptional<z.ZodNumber>;
|
|
2265
|
+
headingSize: z.ZodOptional<z.ZodNumber>;
|
|
2266
|
+
bodySize: z.ZodOptional<z.ZodNumber>;
|
|
1560
2267
|
}, z.core.$strip>>;
|
|
1561
2268
|
formats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1562
2269
|
path: z.ZodString;
|
|
1563
2270
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
2271
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
2272
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
2273
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
2274
|
+
smaller: "smaller";
|
|
2275
|
+
larger: "larger";
|
|
2276
|
+
}>>;
|
|
1564
2277
|
align: z.ZodOptional<z.ZodEnum<{
|
|
1565
2278
|
left: "left";
|
|
1566
2279
|
center: "center";
|
|
1567
2280
|
right: "right";
|
|
1568
2281
|
}>>;
|
|
1569
2282
|
ink: z.ZodOptional<z.ZodEnum<{
|
|
2283
|
+
cobalt: "cobalt";
|
|
1570
2284
|
ink: "ink";
|
|
1571
2285
|
slate: "slate";
|
|
1572
2286
|
navy: "navy";
|
|
1573
2287
|
maroon: "maroon";
|
|
1574
2288
|
forest: "forest";
|
|
1575
2289
|
grey: "grey";
|
|
2290
|
+
charcoal: "charcoal";
|
|
2291
|
+
indigo: "indigo";
|
|
2292
|
+
teal: "teal";
|
|
2293
|
+
olive: "olive";
|
|
2294
|
+
plum: "plum";
|
|
2295
|
+
rust: "rust";
|
|
2296
|
+
brown: "brown";
|
|
1576
2297
|
}>>;
|
|
1577
2298
|
space: z.ZodOptional<z.ZodEnum<{
|
|
1578
2299
|
[x: string]: string;
|