qrdx 0.0.46 → 0.0.47
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/LICENSE +21 -0
- package/README.md +353 -300
- package/dist/index.js +27 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -7
- package/dist/index.mjs.map +1 -1
- package/dist/qr-code-canvas.js +12 -0
- package/dist/qr-code-canvas.js.map +1 -0
- package/dist/qr-code-canvas.mjs +12 -0
- package/dist/qr-code-canvas.mjs.map +1 -0
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/art-trace.d.ts +46 -0
- package/dist/src/art-trace.d.ts.map +1 -0
- package/dist/src/art.d.ts +138 -0
- package/dist/src/art.d.ts.map +1 -0
- package/dist/src/body-patterns.d.ts +34 -0
- package/dist/src/body-patterns.d.ts.map +1 -0
- package/dist/src/codegen.d.ts +5 -5
- package/dist/src/codegen.d.ts.map +1 -1
- package/dist/src/codeword-map.d.ts +40 -0
- package/dist/src/codeword-map.d.ts.map +1 -0
- package/dist/src/constants.d.ts +4 -7
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/corner-dot.d.ts +3 -1
- package/dist/src/corner-dot.d.ts.map +1 -1
- package/dist/src/corner-eye.d.ts +5 -2
- package/dist/src/corner-eye.d.ts.map +1 -1
- package/dist/src/detection.d.ts.map +1 -1
- package/dist/src/download.d.ts +22 -5
- package/dist/src/download.d.ts.map +1 -1
- package/dist/src/eps.d.ts +62 -0
- package/dist/src/eps.d.ts.map +1 -0
- package/dist/src/frame-icons.d.ts +11 -0
- package/dist/src/frame-icons.d.ts.map +1 -0
- package/dist/src/frame-import.d.ts +61 -0
- package/dist/src/frame-import.d.ts.map +1 -0
- package/dist/src/frame-spec.d.ts +24 -0
- package/dist/src/frame-spec.d.ts.map +1 -0
- package/dist/src/frame-styles.d.ts +50 -0
- package/dist/src/frame-styles.d.ts.map +1 -0
- package/dist/src/frame.d.ts +126 -0
- package/dist/src/frame.d.ts.map +1 -0
- package/dist/src/frames/builtin.d.ts +8 -0
- package/dist/src/frames/builtin.d.ts.map +1 -0
- package/dist/src/frames/official.d.ts +18 -0
- package/dist/src/frames/official.d.ts.map +1 -0
- package/dist/src/helpers.d.ts +15 -2
- package/dist/src/helpers.d.ts.map +1 -1
- package/dist/src/index.d.ts +24 -13
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/logo-budget.d.ts +54 -0
- package/dist/src/logo-budget.d.ts.map +1 -0
- package/dist/src/logo-cleanup.d.ts +25 -0
- package/dist/src/logo-cleanup.d.ts.map +1 -0
- package/dist/src/logo.d.ts +28 -0
- package/dist/src/logo.d.ts.map +1 -0
- package/dist/src/print.d.ts +73 -0
- package/dist/src/print.d.ts.map +1 -0
- package/dist/src/qr-code-canvas.d.ts +13 -0
- package/dist/src/qr-code-canvas.d.ts.map +1 -0
- package/dist/src/qr-code.d.ts +4 -2
- package/dist/src/qr-code.d.ts.map +1 -1
- package/dist/src/qr-outline.d.ts +41 -0
- package/dist/src/qr-outline.d.ts.map +1 -0
- package/dist/src/qr-shape.d.ts +72 -0
- package/dist/src/qr-shape.d.ts.map +1 -0
- package/dist/src/scan-risk.d.ts +40 -0
- package/dist/src/scan-risk.d.ts.map +1 -0
- package/dist/src/scan-score.d.ts +154 -0
- package/dist/src/scan-score.d.ts.map +1 -0
- package/dist/src/shapes.d.ts +36 -0
- package/dist/src/shapes.d.ts.map +1 -0
- package/dist/src/silhouette.d.ts +28 -0
- package/dist/src/silhouette.d.ts.map +1 -0
- package/dist/src/utils/color.d.ts.map +1 -1
- package/dist/src/utils/fmt.d.ts +24 -0
- package/dist/src/utils/fmt.d.ts.map +1 -0
- package/dist/src/utils/paint.d.ts +80 -0
- package/dist/src/utils/paint.d.ts.map +1 -0
- package/dist/src/utils/parse-color.d.ts +21 -0
- package/dist/src/utils/parse-color.d.ts.map +1 -0
- package/dist/src/utils/path-data.d.ts +24 -0
- package/dist/src/utils/path-data.d.ts.map +1 -0
- package/dist/src/utils/png.d.ts +16 -0
- package/dist/src/utils/png.d.ts.map +1 -0
- package/dist/src/utils/polygon-clip.d.ts +26 -0
- package/dist/src/utils/polygon-clip.d.ts.map +1 -0
- package/dist/src/utils/print-shared.d.ts +20 -0
- package/dist/src/utils/print-shared.d.ts.map +1 -0
- package/dist/src/utils/svg-geometry.d.ts +49 -0
- package/dist/src/utils/svg-geometry.d.ts.map +1 -0
- package/dist/src/utils/svg-gradient.d.ts +59 -0
- package/dist/src/utils/svg-gradient.d.ts.map +1 -0
- package/dist/src/utils/svg-painter.d.ts +152 -0
- package/dist/src/utils/svg-painter.d.ts.map +1 -0
- package/dist/src/utils.d.ts +18 -2
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/types/art.d.ts +64 -0
- package/dist/types/art.d.ts.map +1 -0
- package/dist/types/color.d.ts +125 -7
- package/dist/types/color.d.ts.map +1 -1
- package/dist/types/corner-dot.d.ts +52 -2
- package/dist/types/corner-dot.d.ts.map +1 -1
- package/dist/types/corner-eye.d.ts +43 -2
- package/dist/types/corner-eye.d.ts.map +1 -1
- package/dist/types/frame-spec.d.ts +3509 -0
- package/dist/types/frame-spec.d.ts.map +1 -0
- package/dist/types/frame.d.ts +68 -0
- package/dist/types/frame.d.ts.map +1 -0
- package/dist/types/image-pattern.d.ts +15 -1
- package/dist/types/image-pattern.d.ts.map +1 -1
- package/dist/types/index.d.ts +15 -9
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +6 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +6 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/types/qr.d.ts +1684 -4
- package/dist/types/qr.d.ts.map +1 -1
- package/dist/types/template.d.ts +2 -2
- package/dist/types/template.d.ts.map +1 -1
- package/package.json +68 -25
- package/src/api.tsx +67 -17
- package/src/art-trace.ts +554 -0
- package/src/art.tsx +2226 -0
- package/src/body-patterns.tsx +389 -0
- package/src/codegen.ts +10 -5
- package/src/codeword-map.ts +265 -0
- package/src/constants.ts +4 -8
- package/src/corner-dot.tsx +209 -33
- package/src/corner-eye.ts +328 -60
- package/src/detection.ts +5 -11
- package/src/download.tsx +123 -52
- package/src/eps.ts +701 -0
- package/src/frame-icons.ts +325 -0
- package/src/frame-import.ts +1198 -0
- package/src/frame-spec.ts +518 -0
- package/src/frame-styles.ts +1095 -0
- package/src/frame.tsx +630 -0
- package/src/frames/builtin/banner-bottom.json +58 -0
- package/src/frames/builtin/circle.json +81 -0
- package/src/frames/builtin/rounded-border.json +60 -0
- package/src/frames/builtin/ticket.json +51 -0
- package/src/frames/builtin.ts +20 -0
- package/src/frames/official/attendance.json +110 -0
- package/src/frames/official/audio-guide.json +95 -0
- package/src/frames/official/book-now.json +103 -0
- package/src/frames/official/check-in.json +110 -0
- package/src/frames/official/christmas.json +131 -0
- package/src/frames/official/donate.json +77 -0
- package/src/frames/official/event-ticket.json +77 -0
- package/src/frames/official/feedback-bubble.json +73 -0
- package/src/frames/official/follow-us.json +83 -0
- package/src/frames/official/get-the-app.json +107 -0
- package/src/frames/official/halloween.json +80 -0
- package/src/frames/official/new-year.json +94 -0
- package/src/frames/official/order-at-table.json +86 -0
- package/src/frames/official/product-info.json +119 -0
- package/src/frames/official/register-product.json +77 -0
- package/src/frames/official/review-us.json +127 -0
- package/src/frames/official/rsvp-card.json +112 -0
- package/src/frames/official/save-contact.json +117 -0
- package/src/frames/official/scan-to-pay.json +94 -0
- package/src/frames/official/shop-window.json +81 -0
- package/src/frames/official/sign-rider.json +81 -0
- package/src/frames/official/table-tent.json +75 -0
- package/src/frames/official/wifi-card.json +89 -0
- package/src/frames/official/winter.json +142 -0
- package/src/frames/official.ts +77 -0
- package/src/helpers.ts +168 -11
- package/src/index.tsx +141 -172
- package/src/logo-budget.ts +226 -0
- package/src/logo-cleanup.ts +146 -0
- package/src/logo.tsx +137 -0
- package/src/print.ts +794 -0
- package/src/qr-code-canvas.tsx +241 -0
- package/src/qr-code.tsx +51 -16
- package/src/qr-outline.ts +511 -0
- package/src/qr-shape.ts +255 -0
- package/src/scan-risk.ts +197 -0
- package/src/scan-score.ts +1629 -0
- package/src/shapes.ts +169 -0
- package/src/silhouette.ts +334 -0
- package/src/utils/color.ts +10 -1
- package/src/utils/fmt.ts +59 -0
- package/src/utils/paint.ts +317 -0
- package/src/utils/parse-color.ts +135 -0
- package/src/utils/path-data.ts +182 -0
- package/src/utils/png.ts +175 -0
- package/src/utils/polygon-clip.ts +163 -0
- package/src/utils/print-shared.ts +74 -0
- package/src/utils/svg-geometry.ts +838 -0
- package/src/utils/svg-gradient.ts +407 -0
- package/src/utils/svg-painter.ts +946 -0
- package/src/utils.tsx +794 -385
- package/types/art.ts +74 -0
- package/types/color.ts +132 -12
- package/types/corner-dot.ts +41 -4
- package/types/corner-eye.ts +31 -4
- package/types/frame-spec.ts +748 -0
- package/types/frame.ts +67 -0
- package/types/image-pattern.ts +15 -0
- package/types/index.ts +106 -4
- package/types/qr.ts +180 -2
- package/types/template.ts +2 -2
- package/dist/cli.js +0 -4319
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "christmas",
|
|
3
|
+
"name": "Christmas",
|
|
4
|
+
"description": "A light card with a tree, small sparkles and a label band.",
|
|
5
|
+
"category": "seasonal",
|
|
6
|
+
"contentTypes": [],
|
|
7
|
+
"tags": ["seasonal", "christmas", "holidays"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1760
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 400
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff"
|
|
26
|
+
},
|
|
27
|
+
"shapes": [
|
|
28
|
+
{
|
|
29
|
+
"type": "rect",
|
|
30
|
+
"x": 0,
|
|
31
|
+
"y": 0,
|
|
32
|
+
"width": 1240,
|
|
33
|
+
"height": 1760,
|
|
34
|
+
"radius": 48,
|
|
35
|
+
"fill": "background"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "rect",
|
|
39
|
+
"x": 0,
|
|
40
|
+
"y": 0,
|
|
41
|
+
"width": 1240,
|
|
42
|
+
"height": 1760,
|
|
43
|
+
"radius": 48,
|
|
44
|
+
"fill": "frame",
|
|
45
|
+
"hole": {
|
|
46
|
+
"x": 24,
|
|
47
|
+
"y": 24,
|
|
48
|
+
"width": 1192,
|
|
49
|
+
"height": 1712,
|
|
50
|
+
"radius": 28
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "icon",
|
|
55
|
+
"icon": "tree",
|
|
56
|
+
"x": 540,
|
|
57
|
+
"y": 46,
|
|
58
|
+
"size": 160,
|
|
59
|
+
"fill": "frame"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "icon",
|
|
63
|
+
"icon": "sparkle",
|
|
64
|
+
"x": 330,
|
|
65
|
+
"y": 90,
|
|
66
|
+
"size": 80,
|
|
67
|
+
"fill": {
|
|
68
|
+
"mix": ["frame", "background"],
|
|
69
|
+
"amount": 0.5
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "icon",
|
|
74
|
+
"icon": "sparkle",
|
|
75
|
+
"x": 830,
|
|
76
|
+
"y": 90,
|
|
77
|
+
"size": 80,
|
|
78
|
+
"fill": {
|
|
79
|
+
"mix": ["frame", "background"],
|
|
80
|
+
"amount": 0.5
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "rect",
|
|
85
|
+
"x": 0,
|
|
86
|
+
"y": 1520,
|
|
87
|
+
"width": 1240,
|
|
88
|
+
"height": 240,
|
|
89
|
+
"radius": 48,
|
|
90
|
+
"fill": "frame"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "rect",
|
|
94
|
+
"x": 0,
|
|
95
|
+
"y": 1520,
|
|
96
|
+
"width": 1240,
|
|
97
|
+
"height": 52,
|
|
98
|
+
"fill": "frame"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"labels": [
|
|
102
|
+
{
|
|
103
|
+
"type": "text",
|
|
104
|
+
"id": "note",
|
|
105
|
+
"slot": "secondary",
|
|
106
|
+
"text": "Merry Christmas",
|
|
107
|
+
"color": "frame",
|
|
108
|
+
"box": {
|
|
109
|
+
"x": 120,
|
|
110
|
+
"y": 214,
|
|
111
|
+
"width": 1000,
|
|
112
|
+
"height": 90
|
|
113
|
+
},
|
|
114
|
+
"weight": "regular"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "text",
|
|
118
|
+
"id": "cta",
|
|
119
|
+
"slot": "primary",
|
|
120
|
+
"text": "Scan me",
|
|
121
|
+
"color": "text",
|
|
122
|
+
"box": {
|
|
123
|
+
"x": 120,
|
|
124
|
+
"y": 1540,
|
|
125
|
+
"width": 1000,
|
|
126
|
+
"height": 200
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "donate",
|
|
3
|
+
"name": "Donate",
|
|
4
|
+
"description": "A heart badge over a donation prompt.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"contentTypes": ["paypal", "upi", "url"],
|
|
7
|
+
"tags": ["charity", "donations", "nonprofit"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1800
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 480
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff"
|
|
26
|
+
},
|
|
27
|
+
"shapes": [
|
|
28
|
+
{
|
|
29
|
+
"type": "rect",
|
|
30
|
+
"x": 0,
|
|
31
|
+
"y": 0,
|
|
32
|
+
"width": 1240,
|
|
33
|
+
"height": 1800,
|
|
34
|
+
"radius": 64,
|
|
35
|
+
"fill": "frame"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "icon",
|
|
39
|
+
"icon": "heart",
|
|
40
|
+
"x": 530,
|
|
41
|
+
"y": 60,
|
|
42
|
+
"size": 180,
|
|
43
|
+
"fill": "text"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"labels": [
|
|
47
|
+
{
|
|
48
|
+
"type": "text",
|
|
49
|
+
"id": "cta",
|
|
50
|
+
"slot": "primary",
|
|
51
|
+
"text": "Scan to donate",
|
|
52
|
+
"color": "text",
|
|
53
|
+
"box": {
|
|
54
|
+
"x": 120,
|
|
55
|
+
"y": 250,
|
|
56
|
+
"width": 1000,
|
|
57
|
+
"height": 130
|
|
58
|
+
},
|
|
59
|
+
"fontSize": 93.6
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "text",
|
|
63
|
+
"id": "note",
|
|
64
|
+
"slot": "secondary",
|
|
65
|
+
"text": "Every gift helps",
|
|
66
|
+
"color": "text",
|
|
67
|
+
"box": {
|
|
68
|
+
"x": 120,
|
|
69
|
+
"y": 1600,
|
|
70
|
+
"width": 1000,
|
|
71
|
+
"height": 140
|
|
72
|
+
},
|
|
73
|
+
"weight": "regular"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "event-ticket",
|
|
3
|
+
"name": "Event ticket",
|
|
4
|
+
"description": "A ticket with notches, a perforated stub and an admission line.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"contentTypes": ["url"],
|
|
7
|
+
"tags": ["events", "tickets", "concert"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1800
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 120
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff"
|
|
26
|
+
},
|
|
27
|
+
"shapes": [
|
|
28
|
+
{
|
|
29
|
+
"type": "path",
|
|
30
|
+
"d": "M48 0H1192A48 48 0 0 1 1240 48V1240A60 60 0 0 0 1240 1360V1752A48 48 0 0 1 1192 1800H48A48 48 0 0 1 0 1752V1360A60 60 0 0 0 0 1240V48A48 48 0 0 1 48 0Z",
|
|
31
|
+
"fill": "frame"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "line",
|
|
35
|
+
"x1": 96,
|
|
36
|
+
"y1": 1300,
|
|
37
|
+
"x2": 1152,
|
|
38
|
+
"y2": 1300,
|
|
39
|
+
"width": 12,
|
|
40
|
+
"dash": [36, 24],
|
|
41
|
+
"fill": "background"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"labels": [
|
|
45
|
+
{
|
|
46
|
+
"type": "text",
|
|
47
|
+
"id": "cta",
|
|
48
|
+
"slot": "primary",
|
|
49
|
+
"text": "Admit one",
|
|
50
|
+
"color": "text",
|
|
51
|
+
"box": {
|
|
52
|
+
"x": 120,
|
|
53
|
+
"y": 1350,
|
|
54
|
+
"width": 1000,
|
|
55
|
+
"height": 230
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "text",
|
|
60
|
+
"id": "note",
|
|
61
|
+
"slot": "secondary",
|
|
62
|
+
"text": "Show at the door",
|
|
63
|
+
"color": {
|
|
64
|
+
"mix": ["text", "frame"],
|
|
65
|
+
"amount": 0.3
|
|
66
|
+
},
|
|
67
|
+
"box": {
|
|
68
|
+
"x": 120,
|
|
69
|
+
"y": 1590,
|
|
70
|
+
"width": 1000,
|
|
71
|
+
"height": 130
|
|
72
|
+
},
|
|
73
|
+
"weight": "regular"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "feedback-bubble",
|
|
3
|
+
"name": "Feedback bubble",
|
|
4
|
+
"description": "A chat bubble that asks for feedback.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"contentTypes": ["url"],
|
|
7
|
+
"tags": ["feedback", "survey", "customer service"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1720
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 120
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff"
|
|
26
|
+
},
|
|
27
|
+
"shapes": [
|
|
28
|
+
{
|
|
29
|
+
"type": "rect",
|
|
30
|
+
"x": 0,
|
|
31
|
+
"y": 0,
|
|
32
|
+
"width": 1240,
|
|
33
|
+
"height": 1540,
|
|
34
|
+
"radius": 90,
|
|
35
|
+
"fill": "frame"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "path",
|
|
39
|
+
"d": "M900 1500L1150 1720Q1080 1600 1110 1500Z",
|
|
40
|
+
"fill": "frame"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"labels": [
|
|
44
|
+
{
|
|
45
|
+
"type": "text",
|
|
46
|
+
"id": "cta",
|
|
47
|
+
"slot": "primary",
|
|
48
|
+
"text": "Tell us how we did",
|
|
49
|
+
"color": "text",
|
|
50
|
+
"box": {
|
|
51
|
+
"x": 120,
|
|
52
|
+
"y": 1250,
|
|
53
|
+
"width": 1000,
|
|
54
|
+
"height": 190
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "text",
|
|
59
|
+
"id": "note",
|
|
60
|
+
"slot": "secondary",
|
|
61
|
+
"text": "",
|
|
62
|
+
"color": "text",
|
|
63
|
+
"box": {
|
|
64
|
+
"x": 120,
|
|
65
|
+
"y": 1420,
|
|
66
|
+
"width": 1000,
|
|
67
|
+
"height": 90
|
|
68
|
+
},
|
|
69
|
+
"weight": "regular"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "follow-us",
|
|
3
|
+
"name": "Follow us",
|
|
4
|
+
"description": "A speech bubble with a share glyph, for a page of your social links.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"contentTypes": ["url", "instagram", "tiktok", "facebook"],
|
|
7
|
+
"tags": ["social", "followers", "marketing"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1760
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 300
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff"
|
|
26
|
+
},
|
|
27
|
+
"shapes": [
|
|
28
|
+
{
|
|
29
|
+
"type": "rect",
|
|
30
|
+
"x": 0,
|
|
31
|
+
"y": 0,
|
|
32
|
+
"width": 1240,
|
|
33
|
+
"height": 1640,
|
|
34
|
+
"radius": 80,
|
|
35
|
+
"fill": "frame"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "polygon",
|
|
39
|
+
"points": [[160, 1620], [330, 1620], [150, 1760]],
|
|
40
|
+
"fill": "frame"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "icon",
|
|
44
|
+
"icon": "share",
|
|
45
|
+
"x": 110,
|
|
46
|
+
"y": 70,
|
|
47
|
+
"size": 120,
|
|
48
|
+
"fill": "text"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"labels": [
|
|
52
|
+
{
|
|
53
|
+
"type": "text",
|
|
54
|
+
"id": "cta",
|
|
55
|
+
"slot": "primary",
|
|
56
|
+
"text": "Follow us",
|
|
57
|
+
"color": "text",
|
|
58
|
+
"box": {
|
|
59
|
+
"x": 270,
|
|
60
|
+
"y": 60,
|
|
61
|
+
"width": 870,
|
|
62
|
+
"height": 140
|
|
63
|
+
},
|
|
64
|
+
"fontSize": 100.8,
|
|
65
|
+
"align": "start"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "text",
|
|
69
|
+
"id": "note",
|
|
70
|
+
"slot": "secondary",
|
|
71
|
+
"text": "for news and offers",
|
|
72
|
+
"color": "text",
|
|
73
|
+
"box": {
|
|
74
|
+
"x": 120,
|
|
75
|
+
"y": 1420,
|
|
76
|
+
"width": 1000,
|
|
77
|
+
"height": 150
|
|
78
|
+
},
|
|
79
|
+
"weight": "regular"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "get-the-app",
|
|
3
|
+
"name": "Get the app",
|
|
4
|
+
"description": "A phone outline with a download glyph and an app prompt on the screen.",
|
|
5
|
+
"category": "use-case",
|
|
6
|
+
"contentTypes": ["url"],
|
|
7
|
+
"tags": ["app", "download", "mobile"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1960
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 300
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff"
|
|
26
|
+
},
|
|
27
|
+
"shapes": [
|
|
28
|
+
{
|
|
29
|
+
"type": "rect",
|
|
30
|
+
"x": 0,
|
|
31
|
+
"y": 0,
|
|
32
|
+
"width": 1240,
|
|
33
|
+
"height": 1960,
|
|
34
|
+
"radius": 150,
|
|
35
|
+
"fill": "frame"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "rect",
|
|
39
|
+
"x": 40,
|
|
40
|
+
"y": 200,
|
|
41
|
+
"width": 1160,
|
|
42
|
+
"height": 1560,
|
|
43
|
+
"radius": 60,
|
|
44
|
+
"fill": "background"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "rect",
|
|
48
|
+
"x": 530,
|
|
49
|
+
"y": 88,
|
|
50
|
+
"width": 180,
|
|
51
|
+
"height": 32,
|
|
52
|
+
"radius": 16,
|
|
53
|
+
"fill": "background"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "rect",
|
|
57
|
+
"x": 470,
|
|
58
|
+
"y": 1836,
|
|
59
|
+
"width": 300,
|
|
60
|
+
"height": 28,
|
|
61
|
+
"radius": 14,
|
|
62
|
+
"fill": "background"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "icon",
|
|
66
|
+
"icon": "download",
|
|
67
|
+
"x": 565,
|
|
68
|
+
"y": 1410,
|
|
69
|
+
"size": 110,
|
|
70
|
+
"fill": "frame"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"labels": [
|
|
74
|
+
{
|
|
75
|
+
"type": "text",
|
|
76
|
+
"id": "cta",
|
|
77
|
+
"slot": "primary",
|
|
78
|
+
"text": "Get the app",
|
|
79
|
+
"color": "frame",
|
|
80
|
+
"box": {
|
|
81
|
+
"x": 120,
|
|
82
|
+
"y": 1530,
|
|
83
|
+
"width": 1000,
|
|
84
|
+
"height": 120
|
|
85
|
+
},
|
|
86
|
+
"fontSize": 86.4
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "text",
|
|
90
|
+
"id": "note",
|
|
91
|
+
"slot": "secondary",
|
|
92
|
+
"text": "Free download",
|
|
93
|
+
"color": {
|
|
94
|
+
"mix": ["frame", "background"],
|
|
95
|
+
"amount": 0.35
|
|
96
|
+
},
|
|
97
|
+
"box": {
|
|
98
|
+
"x": 120,
|
|
99
|
+
"y": 1650,
|
|
100
|
+
"width": 1000,
|
|
101
|
+
"height": 90
|
|
102
|
+
},
|
|
103
|
+
"weight": "regular"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "halloween",
|
|
3
|
+
"name": "Halloween",
|
|
4
|
+
"description": "A dark card with a pumpkin. Set a secondary color to tint the pumpkin.",
|
|
5
|
+
"category": "seasonal",
|
|
6
|
+
"contentTypes": [],
|
|
7
|
+
"tags": ["seasonal", "halloween", "october"],
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"spec": {
|
|
10
|
+
"kind": "qrdx.frame",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"artboard": {
|
|
13
|
+
"width": 1240,
|
|
14
|
+
"height": 1720
|
|
15
|
+
},
|
|
16
|
+
"qr": {
|
|
17
|
+
"size": 1000,
|
|
18
|
+
"padding": 80,
|
|
19
|
+
"radius": 24,
|
|
20
|
+
"x": 120,
|
|
21
|
+
"y": 320
|
|
22
|
+
},
|
|
23
|
+
"colors": {
|
|
24
|
+
"frame": "#111111",
|
|
25
|
+
"text": "#ffffff",
|
|
26
|
+
"accent": "#ffffff"
|
|
27
|
+
},
|
|
28
|
+
"shapes": [
|
|
29
|
+
{
|
|
30
|
+
"type": "rect",
|
|
31
|
+
"x": 0,
|
|
32
|
+
"y": 0,
|
|
33
|
+
"width": 1240,
|
|
34
|
+
"height": 1720,
|
|
35
|
+
"radius": 64,
|
|
36
|
+
"fill": "frame"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "icon",
|
|
40
|
+
"icon": "pumpkin",
|
|
41
|
+
"x": 545,
|
|
42
|
+
"y": 60,
|
|
43
|
+
"size": 150,
|
|
44
|
+
"fill": "accent"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"labels": [
|
|
48
|
+
{
|
|
49
|
+
"type": "text",
|
|
50
|
+
"id": "cta",
|
|
51
|
+
"slot": "primary",
|
|
52
|
+
"text": "Scan me",
|
|
53
|
+
"color": "text",
|
|
54
|
+
"box": {
|
|
55
|
+
"x": 120,
|
|
56
|
+
"y": 1430,
|
|
57
|
+
"width": 1000,
|
|
58
|
+
"height": 180
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "text",
|
|
63
|
+
"id": "note",
|
|
64
|
+
"slot": "secondary",
|
|
65
|
+
"text": "Happy Halloween",
|
|
66
|
+
"color": {
|
|
67
|
+
"mix": ["text", "frame"],
|
|
68
|
+
"amount": 0.3
|
|
69
|
+
},
|
|
70
|
+
"box": {
|
|
71
|
+
"x": 120,
|
|
72
|
+
"y": 1600,
|
|
73
|
+
"width": 1000,
|
|
74
|
+
"height": 90
|
|
75
|
+
},
|
|
76
|
+
"weight": "regular"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
}
|