@popcraft/kit 1.2.2 → 1.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/chunks/{agent-A7BOM22T.js → agent-FBOFA4L2.js} +1 -1
- package/dist/chunks/{builtin-AOXFUXCD.js → builtin-UNS7IRTZ.js} +3 -3
- package/dist/chunks/{buy-credits-EJCPC5V7.js → buy-credits-37KIF2FX.js} +2 -2
- package/dist/chunks/{check-template-V5U2PC6J.js → check-template-NTW22VNY.js} +2 -2
- package/dist/chunks/{chunk-33CFABZ2.js → chunk-2CMHDBFD.js} +43 -43
- package/dist/chunks/{chunk-X4B7SE3J.js → chunk-2ISMXQZH.js} +1 -1
- package/dist/chunks/{chunk-VV7HKDNH.js → chunk-4WOODRGC.js} +4 -4
- package/dist/chunks/{chunk-BOIBQ7MZ.js → chunk-5OKROQS5.js} +2 -2
- package/dist/chunks/{chunk-JZM5HWEX.js → chunk-6QIOHC6D.js} +1 -1
- package/dist/chunks/{chunk-OV2W3YJU.js → chunk-7ETSVZDD.js} +5 -5
- package/dist/chunks/{chunk-6RIRRH4P.js → chunk-7KJGH5DA.js} +3 -3
- package/dist/chunks/{chunk-JY7KJGXS.js → chunk-AIF72RXH.js} +8 -10
- package/dist/chunks/{chunk-JCV2E7HJ.js → chunk-BOJUI3OG.js} +20 -17
- package/dist/chunks/{chunk-DWEPCHQV.js → chunk-EA7WPVPB.js} +11 -11
- package/dist/chunks/{chunk-3UBIOYSA.js → chunk-EOER2JCK.js} +9 -9
- package/dist/chunks/{chunk-CVZA6HPL.js → chunk-FSM6RE22.js} +139 -4
- package/dist/chunks/{chunk-7CEUBEEL.js → chunk-GJXUDC7M.js} +40 -24
- package/dist/chunks/{chunk-MJVFENH4.js → chunk-HCFZGHJQ.js} +3 -3
- package/dist/chunks/{chunk-EUKKWV3G.js → chunk-IO6ER43U.js} +1 -1
- package/dist/chunks/{chunk-A72CYF2R.js → chunk-J3BR4XR7.js} +1 -1
- package/dist/chunks/{chunk-NPUNFQF3.js → chunk-JKYYRNHA.js} +6 -6
- package/dist/chunks/{chunk-24ZYL3SN.js → chunk-LEUINJWK.js} +1 -1
- package/dist/chunks/{chunk-SRY4ZWCH.js → chunk-LP7KEPZV.js} +3 -3
- package/dist/chunks/{chunk-HDSIM2CO.js → chunk-MBNDFL52.js} +2 -2
- package/dist/chunks/{chunk-C22ZRLC7.js → chunk-MRYCR76X.js} +5 -5
- package/dist/chunks/{chunk-KSNXRXZE.js → chunk-O2IDQSID.js} +1 -1
- package/dist/chunks/{chunk-M5ETLHVZ.js → chunk-ORSEXNAN.js} +2 -2
- package/dist/chunks/{chunk-WIQJ4QRA.js → chunk-OZDD4X2Z.js} +1 -1
- package/dist/chunks/{chunk-F7TJGTY6.js → chunk-QLMN2B6V.js} +2 -2
- package/dist/chunks/{chunk-S3LCCBYA.js → chunk-SYM2BMBO.js} +5 -5
- package/dist/chunks/{chunk-QTBLWSUJ.js → chunk-TEJDLWJQ.js} +1 -1
- package/dist/chunks/{chunk-FIJDYPTN.js → chunk-TMSCTWTK.js} +1 -1
- package/dist/chunks/{chunk-HSBUM7AM.js → chunk-TR73N5K3.js} +2 -2
- package/dist/chunks/{chunk-GZN3CWWE.js → chunk-UVHQ6OC6.js} +5 -5
- package/dist/chunks/{chunk-6S57YBJX.js → chunk-VH7BAQHO.js} +3 -1
- package/dist/chunks/{chunk-KA2MGAQJ.js → chunk-WLNCMP4R.js} +4 -4
- package/dist/chunks/{chunk-TPLD3ZO5.js → chunk-XPXDYITB.js} +1 -1
- package/dist/chunks/{client-ATCRQ4Z2.js → client-3O4IP7IV.js} +2 -2
- package/dist/chunks/{client-FKUY77S6.js → client-MGVU6BYH.js} +1 -1
- package/dist/chunks/{client-LD6UEIKF.js → client-NN7D5KOY.js} +3 -3
- package/dist/chunks/{client-actions-5ZFSAP4E.js → client-actions-EGFPGDRF.js} +5 -5
- package/dist/chunks/{dangerous-C7S2EUYQ.js → dangerous-KA4XBNPQ.js} +3 -3
- package/dist/chunks/{delete-current-file-BV4SUOBR.js → delete-current-file-JWRQEJD7.js} +5 -5
- package/dist/chunks/{editor-seams-Y5E3HJSY.js → editor-seams-SVNNJYML.js} +12 -12
- package/dist/chunks/{editor-store-JQA3IFQ4.js → editor-store-F55ZEWJH.js} +1 -1
- package/dist/chunks/{export-watermark-YUXHSEHB.js → export-watermark-2JR3IBVA.js} +5 -5
- package/dist/chunks/{eyedropper-OTQO5UFY.js → eyedropper-6GKVVVEE.js} +1 -1
- package/dist/chunks/{generate-media-4YZWLMG5.js → generate-media-XPID2HER.js} +3 -3
- package/dist/chunks/{host-SV2ZGKB3.js → host-I6KIHIVJ.js} +6 -6
- package/dist/chunks/{integrations-2J5ACHB3.js → integrations-QLSOUP5Z.js} +1 -1
- package/dist/chunks/{libraries-5WFWU4EA.js → libraries-AS5KS6VS.js} +5 -5
- package/dist/chunks/{live-7CTGJ4VD.js → live-ZQRP46FK.js} +1 -1
- package/dist/chunks/{media-tool-IHV3MK22.js → media-tool-M33SALHX.js} +1 -1
- package/dist/chunks/{new-file-Z5VURBEJ.js → new-file-J7EH3YKS.js} +3 -3
- package/dist/chunks/{next-commerce-BAVLRG73.js → next-commerce-7KAFFBWA.js} +2 -2
- package/dist/chunks/{plugin-MTBJ57I6.js → plugin-IQEMDPM3.js} +2 -2
- package/dist/chunks/{plugin-import-OW37E42K.js → plugin-import-EILLZJLX.js} +16 -16
- package/dist/chunks/{presence-AGLEN24G.js → presence-IJN6TO2U.js} +2 -2
- package/dist/chunks/{project-D3353YKF.js → project-GOALAIWW.js} +1 -1
- package/dist/chunks/{publish-site-ATYXDIV6.js → publish-site-I5BQK7VR.js} +6 -6
- package/dist/chunks/{publish-store-3LC6WJ4I.js → publish-store-WDLIOS5E.js} +5 -5
- package/dist/chunks/{raster-actions-IKOFMSP3.js → raster-actions-7CCO2RS5.js} +1 -1
- package/dist/chunks/{runner-66VO3EOK.js → runner-535UPLGO.js} +18 -18
- package/dist/chunks/{store-VLXBAKCI.js → store-J33GD3OK.js} +6 -6
- package/dist/chunks/{storefront-6LO77DYV.js → storefront-VZ5JGP6Q.js} +2 -2
- package/dist/chunks/{sync-E2ZSQO7W.js → sync-LN254R24.js} +5 -5
- package/dist/chunks/{tabs-UF4G2SFX.js → tabs-SRMAPWDX.js} +8 -8
- package/dist/chunks/{team-ZEB7U5XZ.js → team-P7EP6HAH.js} +1 -1
- package/dist/chunks/{team-client-GFSAI3BD.js → team-client-ATTL4BUG.js} +1 -1
- package/dist/chunks/{tools-AJX5HK2L.js → tools-F566WZLK.js} +2 -2
- package/dist/chunks/{ui-commands-IO47EC2X.js → ui-commands-2E6YO3G7.js} +12 -12
- package/dist/chunks/{versions-QBEREZYR.js → versions-ZSGH7ZJN.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/templates/count.js +1 -1
- package/dist/templates/index.js +12 -12
- package/dist/templates/motion/landing-hero/index.js +4 -4
- package/dist/templates/motion/launch-trailer/document.js +12 -12
- package/dist/templates/motion/launch-trailer/index.js +4 -4
- package/dist/templates/motion/launch-trailer/scenes.js +3 -3
- package/dist/templates/motion/template-wall.js +2 -2
- package/dist/templates/print/knit-christmas-tree-sweater.js +2 -2
- package/dist/templates/print/knit-nordic-snowflake-sweater.js +2 -2
- package/dist/templates/print/knit-shared.js +3 -1
- package/dist/templates/print/knit-snowflake-beanie.js +2 -2
- package/dist/templates/themes/holidays.js +5 -5
- package/dist/templates/themes/index.js +6 -6
- package/package.json +1 -1
- package/src/templates/print/knit-christmas-tree-sweater.ts +21 -17
- package/src/templates/print/knit-nordic-snowflake-sweater.ts +45 -26
- package/src/templates/print/knit-shared.ts +118 -7
- package/src/templates/print/knit-snowflake-beanie.ts +9 -9
- package/types/templates/src/print/knit-shared.d.ts +49 -3
package/dist/templates/index.js
CHANGED
|
@@ -7,7 +7,7 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
LIBRARY_SOURCES,
|
|
9
9
|
TEMPLATE_SOURCES
|
|
10
|
-
} from "../chunks/chunk-
|
|
10
|
+
} from "../chunks/chunk-UVHQ6OC6.js";
|
|
11
11
|
import "../chunks/chunk-AU55MNVM.js";
|
|
12
12
|
import "../chunks/chunk-NYPWUXNA.js";
|
|
13
13
|
import "../chunks/chunk-7OD4XIOX.js";
|
|
@@ -58,7 +58,7 @@ import "../chunks/chunk-ULG2JHDO.js";
|
|
|
58
58
|
import "../chunks/chunk-Y5PHHDCC.js";
|
|
59
59
|
import "../chunks/chunk-A5PORIEQ.js";
|
|
60
60
|
import "../chunks/chunk-RGKTFW57.js";
|
|
61
|
-
import "../chunks/chunk-
|
|
61
|
+
import "../chunks/chunk-TEJDLWJQ.js";
|
|
62
62
|
import "../chunks/chunk-7AYGPNDC.js";
|
|
63
63
|
import "../chunks/chunk-ZRMCCN7M.js";
|
|
64
64
|
import "../chunks/chunk-EZN4ZLJ4.js";
|
|
@@ -105,7 +105,7 @@ import "../chunks/chunk-ANHGNY5Y.js";
|
|
|
105
105
|
import "../chunks/chunk-FB35DOHJ.js";
|
|
106
106
|
import "../chunks/chunk-MUEVSSOO.js";
|
|
107
107
|
import "../chunks/chunk-NLOKKG5C.js";
|
|
108
|
-
import "../chunks/chunk-
|
|
108
|
+
import "../chunks/chunk-7KJGH5DA.js";
|
|
109
109
|
import "../chunks/chunk-OGSIFN5S.js";
|
|
110
110
|
import "../chunks/chunk-WZZV2ZRQ.js";
|
|
111
111
|
import "../chunks/chunk-YHUBXLWS.js";
|
|
@@ -471,8 +471,8 @@ import "../chunks/chunk-IB4GDTLR.js";
|
|
|
471
471
|
import "../chunks/chunk-VDMJBQ6V.js";
|
|
472
472
|
import "../chunks/chunk-MPNUZWOI.js";
|
|
473
473
|
import "../chunks/chunk-6D452CFK.js";
|
|
474
|
-
import "../chunks/chunk-
|
|
475
|
-
import "../chunks/chunk-
|
|
474
|
+
import "../chunks/chunk-GJXUDC7M.js";
|
|
475
|
+
import "../chunks/chunk-AIF72RXH.js";
|
|
476
476
|
import "../chunks/chunk-HQ7GVAPL.js";
|
|
477
477
|
import "../chunks/chunk-XIYKYCOJ.js";
|
|
478
478
|
import "../chunks/chunk-CUXD2345.js";
|
|
@@ -486,8 +486,8 @@ import "../chunks/chunk-YWDYEBNY.js";
|
|
|
486
486
|
import "../chunks/chunk-CSR7PK7G.js";
|
|
487
487
|
import "../chunks/chunk-HVZSUESI.js";
|
|
488
488
|
import "../chunks/chunk-HO7NTFM6.js";
|
|
489
|
-
import "../chunks/chunk-
|
|
490
|
-
import "../chunks/chunk-
|
|
489
|
+
import "../chunks/chunk-BOJUI3OG.js";
|
|
490
|
+
import "../chunks/chunk-FSM6RE22.js";
|
|
491
491
|
import "../chunks/chunk-JXBXISRI.js";
|
|
492
492
|
import "../chunks/chunk-ZGYXIUEX.js";
|
|
493
493
|
import "../chunks/chunk-3IJQOFTZ.js";
|
|
@@ -627,7 +627,7 @@ import "../chunks/chunk-AABLDYKR.js";
|
|
|
627
627
|
import "../chunks/chunk-JITY6HNW.js";
|
|
628
628
|
import "../chunks/chunk-27SGFEFE.js";
|
|
629
629
|
import "../chunks/chunk-5MFCKKR5.js";
|
|
630
|
-
import "../chunks/chunk-
|
|
630
|
+
import "../chunks/chunk-J3BR4XR7.js";
|
|
631
631
|
import "../chunks/chunk-HRIM64O2.js";
|
|
632
632
|
import "../chunks/chunk-BQ4RBMZ4.js";
|
|
633
633
|
import "../chunks/chunk-CHAW7KU6.js";
|
|
@@ -637,9 +637,9 @@ import "../chunks/chunk-R4HKGS4U.js";
|
|
|
637
637
|
import "../chunks/chunk-HOALCCKG.js";
|
|
638
638
|
import "../chunks/chunk-72NJQWCD.js";
|
|
639
639
|
import "../chunks/chunk-P3QVB36X.js";
|
|
640
|
-
import "../chunks/chunk-
|
|
641
|
-
import "../chunks/chunk-
|
|
642
|
-
import "../chunks/chunk-
|
|
640
|
+
import "../chunks/chunk-TR73N5K3.js";
|
|
641
|
+
import "../chunks/chunk-IO6ER43U.js";
|
|
642
|
+
import "../chunks/chunk-6QIOHC6D.js";
|
|
643
643
|
import "../chunks/chunk-UPABPBCB.js";
|
|
644
644
|
import "../chunks/chunk-Y2QHMGV2.js";
|
|
645
645
|
import "../chunks/chunk-V7LQ2PFC.js";
|
|
@@ -886,7 +886,7 @@ import "../chunks/chunk-L7LT6MJ7.js";
|
|
|
886
886
|
import "../chunks/chunk-J5S3YQQH.js";
|
|
887
887
|
import "../chunks/chunk-7ZUCBQIM.js";
|
|
888
888
|
import "../chunks/chunk-RUYKMWXQ.js";
|
|
889
|
-
import "../chunks/chunk-
|
|
889
|
+
import "../chunks/chunk-HCFZGHJQ.js";
|
|
890
890
|
import "../chunks/chunk-UWKHWPNF.js";
|
|
891
891
|
import "../chunks/chunk-EO4IBTJQ.js";
|
|
892
892
|
import "../chunks/chunk-ORQKFX45.js";
|
|
@@ -6,16 +6,16 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
landing_hero_default
|
|
9
|
-
} from "../../../chunks/chunk-
|
|
10
|
-
import "../../../chunks/chunk-
|
|
11
|
-
import "../../../chunks/chunk-
|
|
9
|
+
} from "../../../chunks/chunk-TR73N5K3.js";
|
|
10
|
+
import "../../../chunks/chunk-IO6ER43U.js";
|
|
11
|
+
import "../../../chunks/chunk-6QIOHC6D.js";
|
|
12
12
|
import "../../../chunks/chunk-UPABPBCB.js";
|
|
13
13
|
import "../../../chunks/chunk-Y2QHMGV2.js";
|
|
14
14
|
import "../../../chunks/chunk-V7LQ2PFC.js";
|
|
15
15
|
import "../../../chunks/chunk-C3AMYKPA.js";
|
|
16
16
|
import "../../../chunks/chunk-O7J6ZNOT.js";
|
|
17
17
|
import "../../../chunks/chunk-SIPBGHJN.js";
|
|
18
|
-
import "../../../chunks/chunk-
|
|
18
|
+
import "../../../chunks/chunk-HCFZGHJQ.js";
|
|
19
19
|
import "../../../chunks/chunk-UWKHWPNF.js";
|
|
20
20
|
import "../../../chunks/chunk-EO4IBTJQ.js";
|
|
21
21
|
import "../../../chunks/chunk-2YQLN2PB.js";
|
|
@@ -4,7 +4,7 @@ import { dirname as __popcraftDirname } from 'node:path';
|
|
|
4
4
|
const require = __popcraftRequire(import.meta.url);
|
|
5
5
|
const __filename = __popcraftPath(import.meta.url);
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
|
-
import "../../../chunks/chunk-
|
|
7
|
+
import "../../../chunks/chunk-UVHQ6OC6.js";
|
|
8
8
|
import "../../../chunks/chunk-AU55MNVM.js";
|
|
9
9
|
import "../../../chunks/chunk-NYPWUXNA.js";
|
|
10
10
|
import "../../../chunks/chunk-7OD4XIOX.js";
|
|
@@ -55,7 +55,7 @@ import "../../../chunks/chunk-ULG2JHDO.js";
|
|
|
55
55
|
import "../../../chunks/chunk-Y5PHHDCC.js";
|
|
56
56
|
import "../../../chunks/chunk-A5PORIEQ.js";
|
|
57
57
|
import "../../../chunks/chunk-RGKTFW57.js";
|
|
58
|
-
import "../../../chunks/chunk-
|
|
58
|
+
import "../../../chunks/chunk-TEJDLWJQ.js";
|
|
59
59
|
import "../../../chunks/chunk-7AYGPNDC.js";
|
|
60
60
|
import "../../../chunks/chunk-ZRMCCN7M.js";
|
|
61
61
|
import "../../../chunks/chunk-EZN4ZLJ4.js";
|
|
@@ -102,7 +102,7 @@ import "../../../chunks/chunk-ANHGNY5Y.js";
|
|
|
102
102
|
import "../../../chunks/chunk-FB35DOHJ.js";
|
|
103
103
|
import "../../../chunks/chunk-MUEVSSOO.js";
|
|
104
104
|
import "../../../chunks/chunk-NLOKKG5C.js";
|
|
105
|
-
import "../../../chunks/chunk-
|
|
105
|
+
import "../../../chunks/chunk-7KJGH5DA.js";
|
|
106
106
|
import "../../../chunks/chunk-OGSIFN5S.js";
|
|
107
107
|
import "../../../chunks/chunk-WZZV2ZRQ.js";
|
|
108
108
|
import "../../../chunks/chunk-YHUBXLWS.js";
|
|
@@ -468,8 +468,8 @@ import "../../../chunks/chunk-IB4GDTLR.js";
|
|
|
468
468
|
import "../../../chunks/chunk-VDMJBQ6V.js";
|
|
469
469
|
import "../../../chunks/chunk-MPNUZWOI.js";
|
|
470
470
|
import "../../../chunks/chunk-6D452CFK.js";
|
|
471
|
-
import "../../../chunks/chunk-
|
|
472
|
-
import "../../../chunks/chunk-
|
|
471
|
+
import "../../../chunks/chunk-GJXUDC7M.js";
|
|
472
|
+
import "../../../chunks/chunk-AIF72RXH.js";
|
|
473
473
|
import "../../../chunks/chunk-HQ7GVAPL.js";
|
|
474
474
|
import "../../../chunks/chunk-XIYKYCOJ.js";
|
|
475
475
|
import "../../../chunks/chunk-CUXD2345.js";
|
|
@@ -483,8 +483,8 @@ import "../../../chunks/chunk-YWDYEBNY.js";
|
|
|
483
483
|
import "../../../chunks/chunk-CSR7PK7G.js";
|
|
484
484
|
import "../../../chunks/chunk-HVZSUESI.js";
|
|
485
485
|
import "../../../chunks/chunk-HO7NTFM6.js";
|
|
486
|
-
import "../../../chunks/chunk-
|
|
487
|
-
import "../../../chunks/chunk-
|
|
486
|
+
import "../../../chunks/chunk-BOJUI3OG.js";
|
|
487
|
+
import "../../../chunks/chunk-FSM6RE22.js";
|
|
488
488
|
import "../../../chunks/chunk-JXBXISRI.js";
|
|
489
489
|
import "../../../chunks/chunk-ZGYXIUEX.js";
|
|
490
490
|
import "../../../chunks/chunk-3IJQOFTZ.js";
|
|
@@ -626,7 +626,7 @@ import "../../../chunks/chunk-27SGFEFE.js";
|
|
|
626
626
|
import "../../../chunks/chunk-5MFCKKR5.js";
|
|
627
627
|
import {
|
|
628
628
|
launch_trailer_default
|
|
629
|
-
} from "../../../chunks/chunk-
|
|
629
|
+
} from "../../../chunks/chunk-J3BR4XR7.js";
|
|
630
630
|
import "../../../chunks/chunk-HRIM64O2.js";
|
|
631
631
|
import "../../../chunks/chunk-BQ4RBMZ4.js";
|
|
632
632
|
import "../../../chunks/chunk-CHAW7KU6.js";
|
|
@@ -636,9 +636,9 @@ import "../../../chunks/chunk-R4HKGS4U.js";
|
|
|
636
636
|
import "../../../chunks/chunk-HOALCCKG.js";
|
|
637
637
|
import "../../../chunks/chunk-72NJQWCD.js";
|
|
638
638
|
import "../../../chunks/chunk-P3QVB36X.js";
|
|
639
|
-
import "../../../chunks/chunk-
|
|
640
|
-
import "../../../chunks/chunk-
|
|
641
|
-
import "../../../chunks/chunk-
|
|
639
|
+
import "../../../chunks/chunk-TR73N5K3.js";
|
|
640
|
+
import "../../../chunks/chunk-IO6ER43U.js";
|
|
641
|
+
import "../../../chunks/chunk-6QIOHC6D.js";
|
|
642
642
|
import "../../../chunks/chunk-UPABPBCB.js";
|
|
643
643
|
import "../../../chunks/chunk-Y2QHMGV2.js";
|
|
644
644
|
import "../../../chunks/chunk-V7LQ2PFC.js";
|
|
@@ -885,7 +885,7 @@ import "../../../chunks/chunk-L7LT6MJ7.js";
|
|
|
885
885
|
import "../../../chunks/chunk-J5S3YQQH.js";
|
|
886
886
|
import "../../../chunks/chunk-7ZUCBQIM.js";
|
|
887
887
|
import "../../../chunks/chunk-RUYKMWXQ.js";
|
|
888
|
-
import "../../../chunks/chunk-
|
|
888
|
+
import "../../../chunks/chunk-HCFZGHJQ.js";
|
|
889
889
|
import "../../../chunks/chunk-UWKHWPNF.js";
|
|
890
890
|
import "../../../chunks/chunk-EO4IBTJQ.js";
|
|
891
891
|
import "../../../chunks/chunk-ORQKFX45.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
launch_trailer_default
|
|
9
|
-
} from "../../../chunks/chunk-
|
|
10
|
-
import "../../../chunks/chunk-
|
|
11
|
-
import "../../../chunks/chunk-
|
|
9
|
+
} from "../../../chunks/chunk-J3BR4XR7.js";
|
|
10
|
+
import "../../../chunks/chunk-IO6ER43U.js";
|
|
11
|
+
import "../../../chunks/chunk-6QIOHC6D.js";
|
|
12
12
|
import "../../../chunks/chunk-UPABPBCB.js";
|
|
13
13
|
import "../../../chunks/chunk-Y2QHMGV2.js";
|
|
14
14
|
import "../../../chunks/chunk-O7J6ZNOT.js";
|
|
15
15
|
import "../../../chunks/chunk-SIPBGHJN.js";
|
|
16
|
-
import "../../../chunks/chunk-
|
|
16
|
+
import "../../../chunks/chunk-HCFZGHJQ.js";
|
|
17
17
|
import "../../../chunks/chunk-UWKHWPNF.js";
|
|
18
18
|
import "../../../chunks/chunk-EO4IBTJQ.js";
|
|
19
19
|
import "../../../chunks/chunk-2YQLN2PB.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
reach,
|
|
21
21
|
shadow,
|
|
22
22
|
travel
|
|
23
|
-
} from "../../../chunks/chunk-
|
|
24
|
-
import "../../../chunks/chunk-
|
|
23
|
+
} from "../../../chunks/chunk-IO6ER43U.js";
|
|
24
|
+
import "../../../chunks/chunk-6QIOHC6D.js";
|
|
25
25
|
import "../../../chunks/chunk-UPABPBCB.js";
|
|
26
26
|
import "../../../chunks/chunk-O7J6ZNOT.js";
|
|
27
27
|
import "../../../chunks/chunk-SIPBGHJN.js";
|
|
28
|
-
import "../../../chunks/chunk-
|
|
28
|
+
import "../../../chunks/chunk-HCFZGHJQ.js";
|
|
29
29
|
import "../../../chunks/chunk-UWKHWPNF.js";
|
|
30
30
|
import "../../../chunks/chunk-EO4IBTJQ.js";
|
|
31
31
|
import "../../../chunks/chunk-2YQLN2PB.js";
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
PICTURES,
|
|
10
10
|
buildTemplateWall,
|
|
11
11
|
template_wall_default
|
|
12
|
-
} from "../../chunks/chunk-
|
|
12
|
+
} from "../../chunks/chunk-6QIOHC6D.js";
|
|
13
13
|
import "../../chunks/chunk-UPABPBCB.js";
|
|
14
|
-
import "../../chunks/chunk-
|
|
14
|
+
import "../../chunks/chunk-HCFZGHJQ.js";
|
|
15
15
|
import "../../chunks/chunk-UWKHWPNF.js";
|
|
16
16
|
import "../../chunks/chunk-EO4IBTJQ.js";
|
|
17
17
|
import "../../chunks/chunk-2YQLN2PB.js";
|
|
@@ -6,8 +6,8 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
knit_christmas_tree_sweater_default
|
|
9
|
-
} from "../../chunks/chunk-
|
|
10
|
-
import "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-BOJUI3OG.js";
|
|
10
|
+
import "../../chunks/chunk-FSM6RE22.js";
|
|
11
11
|
import "../../chunks/chunk-JXBXISRI.js";
|
|
12
12
|
import "../../chunks/chunk-K4AMMKWH.js";
|
|
13
13
|
import "../../chunks/chunk-KPASD6YT.js";
|
|
@@ -6,8 +6,8 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
knit_nordic_snowflake_sweater_default
|
|
9
|
-
} from "../../chunks/chunk-
|
|
10
|
-
import "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-GJXUDC7M.js";
|
|
10
|
+
import "../../chunks/chunk-FSM6RE22.js";
|
|
11
11
|
import "../../chunks/chunk-JXBXISRI.js";
|
|
12
12
|
import "../../chunks/chunk-K4AMMKWH.js";
|
|
13
13
|
import "../../chunks/chunk-KPASD6YT.js";
|
|
@@ -26,10 +26,11 @@ import {
|
|
|
26
26
|
popcraftLogo,
|
|
27
27
|
radial,
|
|
28
28
|
snowflake,
|
|
29
|
+
solid,
|
|
29
30
|
star,
|
|
30
31
|
tree,
|
|
31
32
|
zigzag
|
|
32
|
-
} from "../../chunks/chunk-
|
|
33
|
+
} from "../../chunks/chunk-FSM6RE22.js";
|
|
33
34
|
import "../../chunks/chunk-JXBXISRI.js";
|
|
34
35
|
import "../../chunks/chunk-R4NVB226.js";
|
|
35
36
|
import "../../chunks/chunk-6DMQD4IP.js";
|
|
@@ -118,6 +119,7 @@ export {
|
|
|
118
119
|
popcraftLogo,
|
|
119
120
|
radial,
|
|
120
121
|
snowflake,
|
|
122
|
+
solid,
|
|
121
123
|
star,
|
|
122
124
|
tree,
|
|
123
125
|
zigzag
|
|
@@ -6,8 +6,8 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
knit_snowflake_beanie_default
|
|
9
|
-
} from "../../chunks/chunk-
|
|
10
|
-
import "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-AIF72RXH.js";
|
|
10
|
+
import "../../chunks/chunk-FSM6RE22.js";
|
|
11
11
|
import "../../chunks/chunk-JXBXISRI.js";
|
|
12
12
|
import "../../chunks/chunk-K4AMMKWH.js";
|
|
13
13
|
import "../../chunks/chunk-KPASD6YT.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
holidays_default
|
|
9
|
-
} from "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-7KJGH5DA.js";
|
|
10
10
|
import "../../chunks/chunk-4FUYTN6V.js";
|
|
11
11
|
import "../../chunks/chunk-2Q6ML3HU.js";
|
|
12
12
|
import "../../chunks/chunk-WETAS6U3.js";
|
|
13
13
|
import "../../chunks/chunk-JZFPYSQH.js";
|
|
14
14
|
import "../../chunks/chunk-OEGBNQEL.js";
|
|
15
|
-
import "../../chunks/chunk-
|
|
16
|
-
import "../../chunks/chunk-
|
|
15
|
+
import "../../chunks/chunk-GJXUDC7M.js";
|
|
16
|
+
import "../../chunks/chunk-AIF72RXH.js";
|
|
17
17
|
import "../../chunks/chunk-6VOHJRFR.js";
|
|
18
18
|
import "../../chunks/chunk-D6DYCLSY.js";
|
|
19
19
|
import "../../chunks/chunk-5ZGBT6VO.js";
|
|
@@ -21,8 +21,8 @@ import "../../chunks/chunk-YWDYEBNY.js";
|
|
|
21
21
|
import "../../chunks/chunk-CSR7PK7G.js";
|
|
22
22
|
import "../../chunks/chunk-HVZSUESI.js";
|
|
23
23
|
import "../../chunks/chunk-HO7NTFM6.js";
|
|
24
|
-
import "../../chunks/chunk-
|
|
25
|
-
import "../../chunks/chunk-
|
|
24
|
+
import "../../chunks/chunk-BOJUI3OG.js";
|
|
25
|
+
import "../../chunks/chunk-FSM6RE22.js";
|
|
26
26
|
import "../../chunks/chunk-JXBXISRI.js";
|
|
27
27
|
import "../../chunks/chunk-ZGYXIUEX.js";
|
|
28
28
|
import "../../chunks/chunk-3IJQOFTZ.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
THEME_PACKS
|
|
9
|
-
} from "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-TEJDLWJQ.js";
|
|
10
10
|
import "../../chunks/chunk-7AYGPNDC.js";
|
|
11
11
|
import "../../chunks/chunk-ZRMCCN7M.js";
|
|
12
12
|
import "../../chunks/chunk-EZN4ZLJ4.js";
|
|
@@ -53,7 +53,7 @@ import "../../chunks/chunk-ANHGNY5Y.js";
|
|
|
53
53
|
import "../../chunks/chunk-FB35DOHJ.js";
|
|
54
54
|
import "../../chunks/chunk-MUEVSSOO.js";
|
|
55
55
|
import "../../chunks/chunk-NLOKKG5C.js";
|
|
56
|
-
import "../../chunks/chunk-
|
|
56
|
+
import "../../chunks/chunk-7KJGH5DA.js";
|
|
57
57
|
import "../../chunks/chunk-OGSIFN5S.js";
|
|
58
58
|
import "../../chunks/chunk-WZZV2ZRQ.js";
|
|
59
59
|
import "../../chunks/chunk-YHUBXLWS.js";
|
|
@@ -242,8 +242,8 @@ import "../../chunks/chunk-IB4GDTLR.js";
|
|
|
242
242
|
import "../../chunks/chunk-VDMJBQ6V.js";
|
|
243
243
|
import "../../chunks/chunk-MPNUZWOI.js";
|
|
244
244
|
import "../../chunks/chunk-6D452CFK.js";
|
|
245
|
-
import "../../chunks/chunk-
|
|
246
|
-
import "../../chunks/chunk-
|
|
245
|
+
import "../../chunks/chunk-GJXUDC7M.js";
|
|
246
|
+
import "../../chunks/chunk-AIF72RXH.js";
|
|
247
247
|
import "../../chunks/chunk-HQ7GVAPL.js";
|
|
248
248
|
import "../../chunks/chunk-XIYKYCOJ.js";
|
|
249
249
|
import "../../chunks/chunk-CUXD2345.js";
|
|
@@ -257,8 +257,8 @@ import "../../chunks/chunk-YWDYEBNY.js";
|
|
|
257
257
|
import "../../chunks/chunk-CSR7PK7G.js";
|
|
258
258
|
import "../../chunks/chunk-HVZSUESI.js";
|
|
259
259
|
import "../../chunks/chunk-HO7NTFM6.js";
|
|
260
|
-
import "../../chunks/chunk-
|
|
261
|
-
import "../../chunks/chunk-
|
|
260
|
+
import "../../chunks/chunk-BOJUI3OG.js";
|
|
261
|
+
import "../../chunks/chunk-FSM6RE22.js";
|
|
262
262
|
import "../../chunks/chunk-JXBXISRI.js";
|
|
263
263
|
import "../../chunks/chunk-ZGYXIUEX.js";
|
|
264
264
|
import "../../chunks/chunk-3IJQOFTZ.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "The PopCraft design kit: everything PopCraft's own templates are made with — the Kit, every helper, style system and theme kit, every official template source to read and remix, the build and every check the official templates pass — plus the design-script runner and .popcraft output.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://popcraft.app/docs/api/design-reference",
|
|
@@ -7,18 +7,20 @@
|
|
|
7
7
|
|
|
8
8
|
import { Kit } from '../kit'
|
|
9
9
|
import { defineTemplate } from '../build'
|
|
10
|
-
import { KnitLayers, SWEATER_3XL, Stitches, YARN, between, clear, heart, knitPanel, knitPreset, lice, linear, radial, snowflake, tree, zigzag } from './knit-shared'
|
|
10
|
+
import { KnitLayers, SWEATER_3XL, Stitches, YARN, between, clear, solid, heart, knitPanel, knitPreset, lice, linear, radial, snowflake, tree, zigzag } from './knit-shared'
|
|
11
11
|
|
|
12
12
|
const NAME = 'Christmas tree knit sweater'
|
|
13
13
|
const PINE = 1, BLEACH = 2, MUSTARD = 3
|
|
14
14
|
const YARNS = [YARN.chili, YARN.pine, YARN.bleach, YARN.mustard]
|
|
15
15
|
|
|
16
16
|
function topBand(s: Stitches, top: number) {
|
|
17
|
+
s.motif('Collar zigzags')
|
|
17
18
|
zigzag(s, top, 20, 7, 3, BLEACH)
|
|
18
19
|
zigzag(s, top + 14, 20, 7, 3, PINE)
|
|
19
20
|
}
|
|
20
21
|
/** Little trees between two pine rules, above the hem. */
|
|
21
22
|
function forest(s: Stitches, bottom: number) {
|
|
23
|
+
s.motif('Forest band')
|
|
22
24
|
s.rows(bottom - 70, bottom - 67, PINE)
|
|
23
25
|
for (let x = 26; x < s.width; x += 52) tree(s, x, bottom - 60, 46, PINE, MUSTARD)
|
|
24
26
|
s.rows(bottom - 8, bottom - 5, PINE)
|
|
@@ -42,14 +44,12 @@ function starPts(cx: number, cy: number, r: number) {
|
|
|
42
44
|
* glowing star, shaded baubles. The canvas knits each blend as a halftone of the two yarns.
|
|
43
45
|
*/
|
|
44
46
|
function litTree(L: KnitLayers, cx: number, top: number, h: number) {
|
|
45
|
-
L.halo(cx, top + h * 0.45, h * 0.62, h * 0.6, Y.mustard, 0.6, 0.66, 'Tree glow')
|
|
46
47
|
const lit = linear(0, [[0, between(Y.pine, Y.mustard, 0.5)], [0.42, Y.pine], [1, Y.pine]])
|
|
47
48
|
tiers(cx, top, h).forEach((t, i) => L.poly(t, lit, `Tier ${i + 1}`))
|
|
48
49
|
const tw = Math.max(2, Math.round(h * 0.045))
|
|
49
50
|
L.rect(cx - tw, top + h * 0.86 - 1, tw * 2, h * 0.14 + 1, linear(0, [[0, between(Y.pine, Y.mustard, 0.3)], [1, Y.pine]]), 'Trunk')
|
|
50
51
|
const spots: [number, number][] = [[-22, 0.38], [26, 0.4], [-60, 0.6], [6, 0.63], [64, 0.61]]
|
|
51
52
|
spots.forEach(([dx, at], i) => L.bauble(cx + dx, top + h * at, 10, Y.bleach, i % 2 ? Y.mustard : Y.chili, between(i % 2 ? Y.mustard : Y.chili, Y.pine, 0.6)))
|
|
52
|
-
L.halo(cx, top - 6, 46, 46, Y.mustard, 0.8, 0.55, 'Star glow')
|
|
53
53
|
L.poly(starPts(cx, top - 6, 30), radial([[0, Y.bleach], [0.45, Y.mustard], [1, between(Y.mustard, Y.chili, 0.5)]], 0.45, 0.4, 0.6), 'Star')
|
|
54
54
|
}
|
|
55
55
|
/** A ribbon with the wordmark: a bleach band shaded at its lower edge, gold tails folding into shadow. */
|
|
@@ -61,7 +61,7 @@ function ribbon(L: KnitLayers, cx: number, cy: number, w: number, h: number, log
|
|
|
61
61
|
linear(side < 0 ? 0 : 180, [[0, Y.mustard], [1, between(Y.mustard, Y.chili, 0.65)]]), side < 0 ? 'Ribbon tail left' : 'Ribbon tail right')
|
|
62
62
|
}
|
|
63
63
|
L.rect(l, top, w, h, linear(90, [[0, Y.bleach], [0.62, Y.bleach], [1, between(Y.bleach, Y.mustard, 0.7)]]), 'Ribbon')
|
|
64
|
-
L.
|
|
64
|
+
L.badge(cx, cy, logo, Y.chili)
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export default defineTemplate({
|
|
@@ -81,10 +81,12 @@ export default defineTemplate({
|
|
|
81
81
|
|
|
82
82
|
const f = new Stitches(front.width, front.height)
|
|
83
83
|
topBand(f, 54)
|
|
84
|
-
for (const [x, y, r] of [[78, 170, 34], [436, 170, 34], [62, 370, 26], [450, 370, 26], [120, 270, 18], [392, 270, 18]] as const) snowflake(f, x, y, r, BLEACH)
|
|
84
|
+
for (const [x, y, r, name] of [[78, 170, 34, 'top left'], [436, 170, 34, 'top right'], [62, 370, 26, 'lower left'], [450, 370, 26, 'lower right'], [120, 270, 18, 'small left'], [392, 270, 18, 'small right']] as const) snowflake(f.motif(`Snowflake ${name}`), x, y, r, BLEACH)
|
|
85
85
|
forest(f, 628)
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
knitPanel(k, k.sheet, front, YARNS, f, PINE, { blend: 'HALFTONE', dot: 5, under: L => {
|
|
87
|
+
// Pop-art light behind the tree: gold rays screened out from the star into the red.
|
|
88
|
+
L.sunburst(255, 150, 420, 28, [[0, Y.mustard, 0.95], [0.45, Y.mustard, 0.5], [1, Y.mustard, 0]], 'Sunburst', -Math.PI / 2)
|
|
89
|
+
}, layers: L => {
|
|
88
90
|
litTree(L, 255, 140, 380)
|
|
89
91
|
// A bleach ribbon wrapped round the tree, gold tails folded behind, with the PopCraft wordmark in red on it.
|
|
90
92
|
ribbon(L, 255, 476, 300, 104, 240)
|
|
@@ -92,29 +94,31 @@ export default defineTemplate({
|
|
|
92
94
|
|
|
93
95
|
const b = new Stitches(back.width, back.height)
|
|
94
96
|
topBand(b, 20)
|
|
97
|
+
b.motif('Snowflake row')
|
|
95
98
|
for (let x = 0; x < b.width; x += 128) snowflake(b, x, 120, 22, BLEACH)
|
|
96
99
|
forest(b, 628)
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
knitPanel(k, k.addSheet(knitPreset(back)), back, YARNS, b, PINE, { blend: 'HALFTONE', dot: 5, under: L => {
|
|
101
|
+
L.sunburst(255, 300, 420, 32, [[0, Y.mustard, 0.9], [0.5, Y.mustard, 0.45], [1, Y.mustard, 0]], 'Sunburst', -Math.PI / 2)
|
|
102
|
+
}, layers: L => {
|
|
99
103
|
// The wordmark across the shoulders: a pine drop shadow, then the letters in bleach warming to gold at their
|
|
100
104
|
// feet, in a gold glow; a lit tree either side under it.
|
|
101
|
-
L.
|
|
102
|
-
L.logo(259, 305, 420, linear(90, [[0, Y.pine]]), 'Logo shadow')
|
|
103
|
-
L.logo(255, 300, 420, linear(90, [[0, Y.bleach], [0.55, Y.bleach], [1, between(Y.bleach, Y.mustard, 0.75)]]))
|
|
105
|
+
L.badge(255, 300, 420, Y.bleach, { outline: Y.pine, ring: 3, shadow: Y.mustard, dx: 5, dy: 5 })
|
|
104
106
|
for (const x of [80, 431]) litTree(L, x, 420, 120)
|
|
105
107
|
} })
|
|
106
108
|
|
|
107
109
|
for (const sleeve of [right, left]) {
|
|
108
110
|
const s = new Stitches(sleeve.width, sleeve.height)
|
|
109
|
-
for (let y =
|
|
110
|
-
if (i % 2) snowflake(s, 255, y, 34, BLEACH)
|
|
111
|
-
else heart(s, 255, y, 30, BLEACH)
|
|
111
|
+
for (let y = 80, i = 0; y < 460; y += 100, i++) {
|
|
112
|
+
if (i % 2) snowflake(s.motif(`Snowflake ${i + 1}`), 255, y, 34, BLEACH)
|
|
113
|
+
else heart(s.motif(`Heart ${i + 1}`), 255, y, 30, BLEACH)
|
|
112
114
|
}
|
|
113
115
|
forest(s, 628)
|
|
114
|
-
lice(s, 30, 540, 30, BLEACH, clear(s, 7))
|
|
116
|
+
lice(s.motif('Sprinkles'), 30, 540, 30, BLEACH, clear(s, 7))
|
|
115
117
|
knitPanel(k, k.addSheet(knitPreset(sleeve)), sleeve, YARNS, s, PINE, { blend: 'HALFTONE', dot: 5, layers: L => {
|
|
116
118
|
// Dusk over the forest: the red ground screened into pine as it nears the hem.
|
|
117
|
-
|
|
119
|
+
// Candy-cane stripes between pine rules above the forest.
|
|
120
|
+
L.rect(0, 492, sleeve.width, 4, solid(Y.pine), 'Stripe rule')
|
|
121
|
+
L.stripes(496, 552, 18, 9, solid(Y.bleach))
|
|
118
122
|
} })
|
|
119
123
|
}
|
|
120
124
|
return k.doc
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { Kit } from '../kit'
|
|
8
8
|
import { defineTemplate } from '../build'
|
|
9
|
-
import { SWEATER_3XL, Stitches, YARN, clear, diamonds, knitPanel, knitPreset,
|
|
9
|
+
import { SWEATER_3XL, Stitches, YARN, clear, diamonds, knitPanel, knitPreset, lice, linear, solid, nordicStar, popcraftLogo, snowflake, zigzag } from './knit-shared'
|
|
10
10
|
|
|
11
11
|
const NAME = 'Nordic snowflake knit sweater'
|
|
12
12
|
// Palette slots: 0 base, 1 trim, then the design's.
|
|
@@ -15,12 +15,14 @@ const YARNS = [YARN.navy, YARN.bleach, YARN.chili]
|
|
|
15
15
|
|
|
16
16
|
/** The yoke: stars between zigzags, under the collar's trim rows. */
|
|
17
17
|
function yoke(s: Stitches, top: number) {
|
|
18
|
-
zigzag(s, top, 24, 8, 3, CHILI)
|
|
18
|
+
zigzag(s.motif('Yoke zigzags'), top, 24, 8, 3, CHILI)
|
|
19
|
+
s.motif('Yoke stars')
|
|
19
20
|
for (let x = 32; x < s.width; x += 64) nordicStar(s, x, top + 44, 26, BLEACH, NAVY)
|
|
20
|
-
zigzag(s, top + 78, 24, 8, 3, CHILI)
|
|
21
|
+
zigzag(s.motif('Yoke zigzags'), top + 78, 24, 8, 3, CHILI)
|
|
21
22
|
}
|
|
22
23
|
/** Diamonds between two bleach rules, above the hem. */
|
|
23
24
|
function hemBand(s: Stitches, bottom: number) {
|
|
25
|
+
s.motif('Hem band')
|
|
24
26
|
s.rows(bottom - 62, bottom - 59, BLEACH)
|
|
25
27
|
diamonds(s, bottom - 34, 40, 36, CHILI, BLEACH)
|
|
26
28
|
s.rows(bottom - 9, bottom - 6, BLEACH)
|
|
@@ -43,43 +45,60 @@ export default defineTemplate({
|
|
|
43
45
|
|
|
44
46
|
const f = new Stitches(front.width, front.height)
|
|
45
47
|
yoke(f, 52)
|
|
46
|
-
snowflake(f, 255, 282, 100, BLEACH)
|
|
47
|
-
snowflake(f, 84, 262, 44, BLEACH)
|
|
48
|
-
snowflake(f, 426, 262, 44, BLEACH)
|
|
49
|
-
for (const x of [44, 467]) snowflake(f, x, 466, 24, CHILI)
|
|
48
|
+
snowflake(f.motif('Big snowflake'), 255, 282, 100, BLEACH)
|
|
49
|
+
snowflake(f.motif('Snowflake left'), 84, 262, 44, BLEACH)
|
|
50
|
+
snowflake(f.motif('Snowflake right'), 426, 262, 44, BLEACH)
|
|
51
|
+
for (const x of [44, 467]) snowflake(f.motif(`Red snowflake ${x < 255 ? 'left' : 'right'}`), x, 466, 24, CHILI)
|
|
50
52
|
hemBand(f, 628)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
knitPanel(k, k.sheet, front, YARNS, f, BLEACH, { blend: 'HALFTONE', dot: 4, under: L => {
|
|
54
|
+
// Northern lights: two curtains, each a thin red crest with frost falling from it, screened into the navy.
|
|
55
|
+
for (const [y, ph] of [[190, 0.3], [330, 2.4]] as const) {
|
|
56
|
+
L.wave(y + 34, 30, 300, 70, ph, linear(90, [[0, YARN.bleach, 0.8], [0.35, YARN.bleach, 0.35], [1, YARN.bleach, 0]]), 'Aurora frost')
|
|
57
|
+
L.wave(y, 30, 300, 6, ph, solid(YARN.chili), 'Aurora crest')
|
|
58
|
+
}
|
|
59
|
+
// The medallion is a window of plain night round the big snowflake.
|
|
60
|
+
L.ellipse(255, 282, 126, 126, solid(YARN.navy), 'Medallion')
|
|
61
|
+
}, layers: L => {
|
|
53
62
|
// Frost: an icy ring round the big snowflake, and a frost rising from the hem band, navy dithered with bleach.
|
|
54
|
-
|
|
55
|
-
L.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
L.
|
|
63
|
+
// A medallion round the big snowflake: a solid red ring inside a ring of bleach dots.
|
|
64
|
+
L.ring(255, 282, 124, 5, solid(YARN.chili), 'Medallion ring')
|
|
65
|
+
L.dots(255, 282, 136, 9, solid(YARN.bleach), 'Medallion dots')
|
|
66
|
+
// Snowdrift: a ruled band above the hem, screened from navy to bleach.
|
|
67
|
+
L.rect(0, 524, f.width, 3, solid(YARN.bleach), 'Drift rule')
|
|
68
|
+
L.rect(0, 527, f.width, 39, linear(90, [[0, YARN.bleach, 0.1], [1, YARN.bleach, 0.65]]), 'Snowdrift')
|
|
69
|
+
// The wordmark under it, solid bleach on a red drop shadow.
|
|
70
|
+
L.badge(255, 462, 290, YARN.bleach, { shadow: YARN.chili, dx: 4, dy: 4 })
|
|
59
71
|
} })
|
|
60
72
|
|
|
61
73
|
const b = new Stitches(back.width, back.height)
|
|
62
74
|
yoke(b, 20)
|
|
63
75
|
// The wordmark across the back in red, ringed in bleach, over a row of little red snowflakes.
|
|
64
|
-
popcraftLogo(b, 255, 290, 410, CHILI, { c: BLEACH, ring: 4 })
|
|
76
|
+
popcraftLogo(b.motif('PopCraft logo'), 255, 290, 410, CHILI, { c: BLEACH, ring: 4 })
|
|
77
|
+
b.motif('Red snowflake row')
|
|
65
78
|
for (let x = 32; x < b.width; x += 64) snowflake(b, x, 470, 20, CHILI)
|
|
66
79
|
hemBand(b, 628)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
80
|
+
knitPanel(k, k.addSheet(knitPreset(back)), back, YARNS, b, BLEACH, { blend: 'HALFTONE', dot: 4, under: L => {
|
|
81
|
+
// Northern lights: two curtains, each a thin red crest with frost falling from it, screened into the navy.
|
|
82
|
+
for (const [y, ph] of [[140, 0.3], [370, 2.4]] as const) {
|
|
83
|
+
L.wave(y + 34, 30, 300, 70, ph, linear(90, [[0, YARN.bleach, 0.8], [0.35, YARN.bleach, 0.35], [1, YARN.bleach, 0]]), 'Aurora frost')
|
|
84
|
+
L.wave(y, 30, 300, 6, ph, solid(YARN.chili), 'Aurora crest')
|
|
85
|
+
}
|
|
86
|
+
}, layers: L => {
|
|
87
|
+
L.rect(0, 524, b.width, 3, solid(YARN.bleach), 'Drift rule')
|
|
88
|
+
L.rect(0, 527, b.width, 39, linear(90, [[0, YARN.bleach, 0.1], [1, YARN.bleach, 0.65]]), 'Snowdrift')
|
|
74
89
|
} })
|
|
75
90
|
|
|
76
91
|
for (const sleeve of [right, left]) {
|
|
77
92
|
const s = new Stitches(sleeve.width, sleeve.height)
|
|
78
|
-
for (let y =
|
|
93
|
+
for (let y = 100; y < 480; y += 125) snowflake(s.motif(`Snowflake ${(y - 100) / 125 + 1}`), 255, y, 44, BLEACH)
|
|
79
94
|
hemBand(s, 628)
|
|
80
|
-
lice(s, 40, 540, 32, BLEACH, clear(s, 6))
|
|
81
|
-
knitPanel(k, k.addSheet(knitPreset(sleeve)), sleeve, YARNS, s, BLEACH, {
|
|
82
|
-
|
|
95
|
+
lice(s.motif('Sprinkles'), 40, 540, 32, BLEACH, clear(s, 6))
|
|
96
|
+
knitPanel(k, k.addSheet(knitPreset(sleeve)), sleeve, YARNS, s, BLEACH, { blend: 'HALFTONE', dot: 4, under: L => {
|
|
97
|
+
L.wave(270 + 34, 30, 300, 70, 1.2, linear(90, [[0, YARN.bleach, 0.8], [0.35, YARN.bleach, 0.35], [1, YARN.bleach, 0]]), 'Aurora frost')
|
|
98
|
+
L.wave(270, 30, 300, 6, 1.2, solid(YARN.chili), 'Aurora crest')
|
|
99
|
+
}, layers: L => {
|
|
100
|
+
L.rect(0, 524, sleeve.width, 3, solid(YARN.bleach), 'Drift rule')
|
|
101
|
+
L.rect(0, 527, sleeve.width, 39, linear(90, [[0, YARN.bleach, 0.1], [1, YARN.bleach, 0.65]]), 'Snowdrift')
|
|
83
102
|
} })
|
|
84
103
|
}
|
|
85
104
|
return k.doc
|