prism-design 2.13.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +292 -0
  2. package/LICENSE +21 -0
  3. package/README.md +203 -0
  4. package/bin/clone-architect.mjs +476 -0
  5. package/bin/prism.mjs +467 -0
  6. package/catalog/index.json +1155 -0
  7. package/extractions/airbnb.com/DESIGN.md +1068 -0
  8. package/extractions/airbnb.com/tokens.json +507 -0
  9. package/extractions/attio.com/DESIGN.md +1295 -0
  10. package/extractions/attio.com/tokens.json +438 -0
  11. package/extractions/auroxdashboard.com/DESIGN.md +724 -0
  12. package/extractions/auroxdashboard.com/tokens.json +195 -0
  13. package/extractions/careerexplorer.com/DESIGN.md +1178 -0
  14. package/extractions/careerexplorer.com/tokens.json +141 -0
  15. package/extractions/chance.co/DESIGN.md +1209 -0
  16. package/extractions/chance.co/tokens.json +160 -0
  17. package/extractions/choisis-ton-avenir.com/DESIGN.md +1265 -0
  18. package/extractions/choisis-ton-avenir.com/tokens.json +227 -0
  19. package/extractions/example.com/DESIGN.md +436 -0
  20. package/extractions/example.com/tokens.json +91 -0
  21. package/extractions/getdesign.md/DESIGN.md +1009 -0
  22. package/extractions/getdesign.md/tokens.json +219 -0
  23. package/extractions/github.com/DESIGN.md +1130 -0
  24. package/extractions/github.com/tokens.json +2092 -0
  25. package/extractions/hello-charly.com/DESIGN.md +1146 -0
  26. package/extractions/hello-charly.com/tokens.json +322 -0
  27. package/extractions/hyperliquid.xyz/DESIGN.md +779 -0
  28. package/extractions/hyperliquid.xyz/tokens.json +598 -0
  29. package/extractions/instagram.com/DESIGN.md +996 -0
  30. package/extractions/instagram.com/tokens.json +1240 -0
  31. package/extractions/jobirl.com/DESIGN.md +1160 -0
  32. package/extractions/jobirl.com/tokens.json +139 -0
  33. package/extractions/life360.com/DESIGN.md +1133 -0
  34. package/extractions/life360.com/tokens.json +491 -0
  35. package/extractions/lifesum.com/DESIGN.md +965 -0
  36. package/extractions/lifesum.com/tokens.json +170 -0
  37. package/extractions/linear.app/DESIGN.md +1301 -0
  38. package/extractions/linear.app/tokens.json +732 -0
  39. package/extractions/mavoie.org/DESIGN.md +1148 -0
  40. package/extractions/mavoie.org/tokens.json +128 -0
  41. package/extractions/miro.com/DESIGN.md +1237 -0
  42. package/extractions/miro.com/tokens.json +401 -0
  43. package/extractions/notion.so/DESIGN.md +1319 -0
  44. package/extractions/notion.so/tokens.json +906 -0
  45. package/extractions/onetonline.org/DESIGN.md +909 -0
  46. package/extractions/onetonline.org/tokens.json +280 -0
  47. package/extractions/posthog.com/DESIGN.md +1024 -0
  48. package/extractions/posthog.com/tokens.json +197 -0
  49. package/extractions/revolut.com/DESIGN.md +1080 -0
  50. package/extractions/revolut.com/tokens.json +401 -0
  51. package/extractions/stripe.com/DESIGN.md +1272 -0
  52. package/extractions/stripe.com/tokens.json +794 -0
  53. package/extractions/switchcollective.com/DESIGN.md +1040 -0
  54. package/extractions/switchcollective.com/tokens.json +98 -0
  55. package/extractions/truity.com/DESIGN.md +970 -0
  56. package/extractions/truity.com/tokens.json +166 -0
  57. package/extractions/uniquekicks.be/DESIGN.md +1171 -0
  58. package/extractions/uniquekicks.be/tokens.json +237 -0
  59. package/package.json +122 -0
  60. package/scripts/analyze.ts +281 -0
  61. package/scripts/bank-register.ts +379 -0
  62. package/scripts/bank.ts +374 -0
  63. package/scripts/browser-stealth.ts +189 -0
  64. package/scripts/clone.ts +198 -0
  65. package/scripts/compare-vs-gd-final.ts +273 -0
  66. package/scripts/compare-vs-gd.ts +269 -0
  67. package/scripts/compare.ts +405 -0
  68. package/scripts/deploy-site.ts +181 -0
  69. package/scripts/diff-snapshots.ts +340 -0
  70. package/scripts/enrich-catalog.ts +212 -0
  71. package/scripts/extract.ts +2038 -0
  72. package/scripts/extractors/advanced.ts +524 -0
  73. package/scripts/extractors/widgets.ts +711 -0
  74. package/scripts/generate-design-md.ts +5775 -0
  75. package/scripts/generate-final-pdf.ts +274 -0
  76. package/scripts/generate-og-image.ts +87 -0
  77. package/scripts/generate-showcase.ts +1588 -0
  78. package/scripts/generate-site.ts +847 -0
  79. package/scripts/mass-extract.sh +91 -0
  80. package/scripts/post-process-all.sh +55 -0
  81. package/scripts/regen-catalog.ts +203 -0
  82. package/scripts/shared/cache.ts +149 -0
  83. package/scripts/shared/css-helpers.ts +263 -0
  84. package/scripts/shared/logger.ts +57 -0
  85. package/scripts/shared/named-colors.ts +355 -0
  86. package/scripts/shared/types.ts +220 -0
  87. package/scripts/sync-catalog.ts +105 -0
  88. package/scripts/tokenize.ts +988 -0
  89. package/templates/layout-template.md +52 -0
  90. package/templates/tokens-template.json +34 -0
@@ -0,0 +1,280 @@
1
+ {
2
+ "meta": {
3
+ "source": "https://www.onetonline.org/explore/interests/",
4
+ "domain": "onetonline.org",
5
+ "extractedAt": "2026-06-02T00:50:02.669Z",
6
+ "tokenizedAt": "2026-06-02T00:50:11.408Z"
7
+ },
8
+ "colors": {
9
+ "background": {
10
+ "primary": "rgb(255, 255, 255)",
11
+ "secondary": "rgb(248, 249, 250)",
12
+ "tertiary": "rgb(248, 249, 250)"
13
+ },
14
+ "text": {
15
+ "primary": "rgb(33, 37, 41)",
16
+ "secondary": "rgb(0, 0, 0)",
17
+ "muted": "#2b2f32"
18
+ },
19
+ "accent": {
20
+ "primary": "rgb(0, 68, 136)",
21
+ "secondary": "rgb(13, 110, 253)"
22
+ },
23
+ "border": "rgb(222, 226, 230)",
24
+ "shadow": "rgba(0,0,0,0.1)",
25
+ "semantic": {
26
+ "error": "#58151c",
27
+ "success": "#198754",
28
+ "warning": "#fff3cd",
29
+ "info": "#055160"
30
+ }
31
+ },
32
+ "typography": {
33
+ "fontFamily": {
34
+ "primary": "OpenSans",
35
+ "secondary": "OpenSansCond",
36
+ "mono": "monospace"
37
+ },
38
+ "fontSize": {
39
+ "xs": "12.25px",
40
+ "sm": "13px",
41
+ "base": "14px",
42
+ "lg": "17.5px",
43
+ "xl": "19.6px",
44
+ "2xl": "24.5px",
45
+ "3xl": "28px",
46
+ "4xl": "35px"
47
+ },
48
+ "fontWeight": {
49
+ "normal": "400",
50
+ "medium": "700",
51
+ "semibold": "700",
52
+ "bold": "700"
53
+ },
54
+ "lineHeight": {
55
+ "tight": "1.2",
56
+ "normal": "1.5",
57
+ "relaxed": "1.5"
58
+ },
59
+ "letterSpacing": {
60
+ "tight": "-0.025em",
61
+ "normal": "0em",
62
+ "wide": "0.025em"
63
+ }
64
+ },
65
+ "spacing": {
66
+ "xxs": "2px",
67
+ "xs": "4px",
68
+ "sm": "7px",
69
+ "md": "11px",
70
+ "base": "14px",
71
+ "lg": "21px",
72
+ "xl": "32px",
73
+ "2xl": "48px",
74
+ "3xl": "64px"
75
+ },
76
+ "borderRadius": {
77
+ "none": "0px",
78
+ "xs": "5.25px",
79
+ "sm": "7px",
80
+ "md": "7px",
81
+ "lg": "7px",
82
+ "xl": "7px",
83
+ "full": "9999px"
84
+ },
85
+ "shadows": {},
86
+ "transitions": {
87
+ "transition-1": "all",
88
+ "transition-2": "border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",
89
+ "transition-3": "color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",
90
+ "transition-4": "box-shadow 0.15s ease-in-out",
91
+ "transition-5": "color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out"
92
+ },
93
+ "layout": {
94
+ "maxWidth": "1200px",
95
+ "headerHeight": "64px",
96
+ "sidebarWidth": "0px",
97
+ "gap": "16px",
98
+ "containerPadding": "24px"
99
+ },
100
+ "cssCustomProperties": {
101
+ "--bs-orange": "#fd7e14",
102
+ "--bs-link-hover-color-rgb": "10,88,202",
103
+ "--fa-font-duotone-thin": "normal 100 1em/1 'Font Awesome 7 Duotone'",
104
+ "--bs-warning-bg-subtle": "#fff3cd",
105
+ "--bs-success": "#198754",
106
+ "--fa-font-etch-solid": "normal 900 1em/1 'Font Awesome 7 Etch'",
107
+ "--bs-danger-text-emphasis": "#58151c",
108
+ "--bs-border-style": "solid",
109
+ "--bs-warning-rgb": "255,193,7",
110
+ "--bs-info-text-emphasis": "#055160",
111
+ "--fa-font-whiteboard-semibold": "normal 600 1em/1 'Font Awesome 7 Whiteboard'",
112
+ "--bs-body-font-weight": "400",
113
+ "--bs-code-color": "#d63384",
114
+ "--bs-primary": "#0d6efd",
115
+ "--bs-border-radius-2xl": "2rem",
116
+ "--bs-body-line-height": "1.5",
117
+ "--fa-font-sharp-light": "normal 300 1em/1 'Font Awesome 7 Sharp'",
118
+ "--bs-light-bg-subtle": "#fcfcfd",
119
+ "--bs-box-shadow": "0 0.5rem 1rem rgba(0, 0, 0, 0.15)",
120
+ "--bs-cyan": "#0dcaf0",
121
+ "--bs-green": "#198754",
122
+ "--bs-primary-border-subtle": "#9ec5fe",
123
+ "--bs-link-hover-color": "#0a58ca",
124
+ "--bs-box-shadow-inset": "inset 0 1px 2px rgba(0, 0, 0, 0.075)",
125
+ "--bs-purple": "#6f42c1",
126
+ "--fa-font-brands": "normal 400 1em/1 'Font Awesome 7 Brands'",
127
+ "--fa-font-sharp-duotone-regular": "normal 400 1em/1 'Font Awesome 7 Sharp Duotone'",
128
+ "--bs-dark-text-emphasis": "#495057",
129
+ "--bs-info-rgb": "13,202,240",
130
+ "--bs-breakpoint-xs": "0",
131
+ "--bs-gray-400": "#ced4da",
132
+ "--bs-primary-text-emphasis": "#052c65",
133
+ "--bs-border-radius-sm": "0.25rem",
134
+ "--fa-font-sharp-duotone-light": "normal 300 1em/1 'Font Awesome 7 Sharp Duotone'",
135
+ "--bs-primary-bg-subtle": "#cfe2ff",
136
+ "--bs-pink": "#d63384",
137
+ "--bs-gray-100": "#f8f9fa",
138
+ "--fa-font-slab-regular": "normal 400 1em/1 'Font Awesome 7 Slab'",
139
+ "--bs-link-decoration": "underline",
140
+ "--bs-border-radius": "0.375rem",
141
+ "--bs-white": "#fff",
142
+ "--bs-danger": "#dc3545",
143
+ "--bs-gray-600": "#6c757d",
144
+ "--bs-body-bg-rgb": "255,255,255",
145
+ "--bs-highlight-color": "#212529",
146
+ "--bs-dark-rgb": "33,37,41",
147
+ "--bs-success-text-emphasis": "#0a3622",
148
+ "--bs-gradient": "linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))",
149
+ "--bs-border-radius-xxl": "2rem",
150
+ "--bs-gray-500": "#adb5bd",
151
+ "--fa-font-light": "normal 300 1em/1 'Font Awesome 7 Pro'",
152
+ "--bs-teal": "#20c997",
153
+ "--bs-indigo": "#6610f2",
154
+ "--bs-dark": "#212529",
155
+ "--bs-success-bg-subtle": "#d1e7dd",
156
+ "--bs-link-color-rgb": "13,110,253",
157
+ "--fa-font-sharp-duotone-solid": "normal 900 1em/1 'Font Awesome 7 Sharp Duotone'",
158
+ "--bs-secondary-bg-subtle": "#e2e3e5",
159
+ "--bs-breakpoint-lg": "992px",
160
+ "--bs-breakpoint-xxl": "1400px",
161
+ "--bs-gray-800": "#343a40",
162
+ "--bs-light-text-emphasis": "#495057",
163
+ "--fa-font-sharp-solid": "normal 900 1em/1 'Font Awesome 7 Sharp'",
164
+ "--bs-border-radius-lg": "0.5rem",
165
+ "--bs-breakpoint-xl": "1200px",
166
+ "--bs-primary-rgb": "13,110,253",
167
+ "--bs-info-border-subtle": "#9eeaf9",
168
+ "--bs-success-border-subtle": "#a3cfbb",
169
+ "--fa-font-jelly-duo-regular": "normal 400 1em/1 'Font Awesome 7 Jelly Duo'",
170
+ "--bs-black-rgb": "0,0,0",
171
+ "--bs-secondary-text-emphasis": "#2b2f32",
172
+ "--fa-font-solid": "normal 900 1em/1 'Font Awesome 7 Pro'",
173
+ "--bs-warning": "#ffc107",
174
+ "--bs-focus-ring-color": "rgba(13, 110, 253, 0.25)",
175
+ "--bs-success-rgb": "25,135,84",
176
+ "--fa-font-notdog-solid": "normal 900 1em/1 'Font Awesome 7 Notdog'",
177
+ "--bs-blue": "#0d6efd",
178
+ "--fa-font-sharp-duotone-thin": "normal 100 1em/1 'Font Awesome 7 Sharp Duotone'",
179
+ "--bs-yellow": "#ffc107",
180
+ "--bs-info": "#0dcaf0",
181
+ "--bs-border-color": "#dee2e6",
182
+ "--bs-warning-border-subtle": "#ffe69c",
183
+ "--bs-gray": "#6c757d",
184
+ "--bs-secondary-color-rgb": "33,37,41",
185
+ "--fa-font-slab-press-regular": "normal 400 1em/1 'Font Awesome 7 Slab Press'",
186
+ "--bs-info-bg-subtle": "#cff4fc",
187
+ "--bs-emphasis-color": "#000",
188
+ "--bs-form-invalid-color": "#dc3545",
189
+ "--bs-light-border-subtle": "#e9ecef",
190
+ "--fa-font-thumbprint-light": "normal 300 1em/1 'Font Awesome 7 Thumbprint'",
191
+ "--fa-font-regular": "normal 400 1em/1 'Font Awesome 7 Pro'",
192
+ "--bs-secondary-color": "rgba(33, 37, 41, 0.75)",
193
+ "--fa-font-jelly-fill-regular": "normal 400 1em/1 'Font Awesome 7 Jelly Fill'",
194
+ "--bs-font-monospace": "SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace",
195
+ "--bs-body-color-rgb": "33,37,41",
196
+ "--bs-border-radius-xl": "1rem",
197
+ "--bs-danger-rgb": "220,53,69",
198
+ "--bs-gray-200": "#e9ecef",
199
+ "--bs-tertiary-color": "rgba(33, 37, 41, 0.5)",
200
+ "--bs-warning-text-emphasis": "#664d03",
201
+ "--bs-dark-bg-subtle": "#ced4da",
202
+ "--bs-box-shadow-lg": "0 1rem 3rem rgba(0, 0, 0, 0.175)",
203
+ "--bs-border-width": "1px",
204
+ "--bs-danger-bg-subtle": "#f8d7da",
205
+ "--bs-secondary-bg": "#e9ecef",
206
+ "--bs-body-font-size": "1rem",
207
+ "--bs-secondary": "#6c757d",
208
+ "--bs-danger-border-subtle": "#f1aeb5",
209
+ "--fa-font-utility-duo-semibold": "normal 600 1em/1 'Font Awesome 7 Utility Duo'",
210
+ "--bs-gray-dark": "#343a40",
211
+ "--fa-font-graphite-thin": "normal 100 1em/1 'Font Awesome 7 Graphite'",
212
+ "--bs-red": "#dc3545",
213
+ "--bs-gray-700": "#495057",
214
+ "--fa-font-chisel-regular": "normal 400 1em/1 'Font Awesome 7 Chisel'",
215
+ "--bs-form-valid-color": "#198754",
216
+ "--bs-breakpoint-sm": "576px",
217
+ "--bs-secondary-rgb": "108,117,125",
218
+ "--bs-heading-color": "",
219
+ "--bs-tertiary-color-rgb": "33,37,41",
220
+ "--fa-font-duotone-light": "normal 300 1em/1 'Font Awesome 7 Duotone'",
221
+ "--bs-highlight-bg": "#fff3cd",
222
+ "--bs-white-rgb": "255,255,255",
223
+ "--bs-focus-ring-opacity": "0.25",
224
+ "--fa-font-utility-fill-semibold": "normal 600 1em/1 'Font Awesome 7 Utility Fill'",
225
+ "--fa-font-duotone": "normal 900 1em/1 'Font Awesome 7 Duotone'",
226
+ "--fa-font-jelly-regular": "normal 400 1em/1 'Font Awesome 7 Jelly'",
227
+ "--fa-font-thin": "normal 100 1em/1 'Font Awesome 7 Pro'",
228
+ "--bs-secondary-border-subtle": "#c4c8cb",
229
+ "--fa-font-duotone-regular": "normal 400 1em/1 'Font Awesome 7 Duotone'",
230
+ "--bs-tertiary-bg": "#f8f9fa",
231
+ "--bs-emphasis-color-rgb": "0,0,0",
232
+ "--bs-font-sans-serif": "system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",\"Noto Sans\",\"Liberation Sans\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"",
233
+ "--bs-body-font-family": "system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",\"Noto Sans\",\"Liberation Sans\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"",
234
+ "--bs-black": "#000",
235
+ "--bs-secondary-bg-rgb": "233,236,239",
236
+ "--bs-form-invalid-border-color": "#dc3545",
237
+ "--bs-box-shadow-sm": "0 0.125rem 0.25rem rgba(0, 0, 0, 0.075)",
238
+ "--bs-tertiary-bg-rgb": "248,249,250",
239
+ "--bs-light-rgb": "248,249,250",
240
+ "--bs-breakpoint-md": "768px",
241
+ "--fa-font-notdog-duo-solid": "normal 900 1em/1 'Font Awesome 7 Notdog Duo'",
242
+ "--fa-font-sharp-thin": "normal 100 1em/1 'Font Awesome 7 Sharp'",
243
+ "--bs-border-radius-pill": "50rem",
244
+ "--bs-body-bg": "#fff",
245
+ "--bs-dark-border-subtle": "#adb5bd",
246
+ "--fa-font-utility-semibold": "normal 600 1em/1 'Font Awesome 7 Utility'",
247
+ "--bs-gray-300": "#dee2e6",
248
+ "--bs-gray-900": "#212529",
249
+ "--bs-focus-ring-width": "0.25rem",
250
+ "--bs-light": "#f8f9fa",
251
+ "--fa-font-sharp-regular": "normal 400 1em/1 'Font Awesome 7 Sharp'",
252
+ "--bs-border-color-translucent": "rgba(0, 0, 0, 0.175)",
253
+ "--bs-link-color": "#0d6efd",
254
+ "--bs-form-valid-border-color": "#198754",
255
+ "--bs-body-color": "#212529",
256
+ "--bs-navbar-brand-color": "rgba(0,0,0, 1)",
257
+ "--bs-navbar-toggler-focus-width": "0.25rem",
258
+ "--bs-navbar-padding-y": "0.5rem",
259
+ "--bs-gutter-x": "1.5rem",
260
+ "--bs-navbar-brand-font-size": "1.25rem",
261
+ "--bs-navbar-brand-padding-y": "0.3125rem",
262
+ "--bs-navbar-active-color": "rgba(0,0,0, 1)",
263
+ "--bs-navbar-color": "rgba(0,0,0, 0.65)",
264
+ "--bs-navbar-toggler-border-radius": "0.375rem",
265
+ "--bs-navbar-toggler-font-size": "1.25rem",
266
+ "--bs-navbar-toggler-icon-bg": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")",
267
+ "--bs-bg-opacity": "1",
268
+ "--bs-navbar-padding-x": "0",
269
+ "--bs-navbar-disabled-color": "rgba(0,0,0, 0.3)",
270
+ "--bs-navbar-toggler-padding-x": "0.75rem",
271
+ "--bs-navbar-toggler-transition": "box-shadow 0.15s ease-in-out",
272
+ "--bs-navbar-hover-color": "rgba(0,0,0, 0.8)",
273
+ "--bs-navbar-toggler-padding-y": "0.25rem",
274
+ "--bs-navbar-nav-link-padding-x": "0.5rem",
275
+ "--bs-gutter-y": "0",
276
+ "--bs-navbar-brand-hover-color": "rgba(0,0,0, 1)",
277
+ "--bs-navbar-brand-margin-end": "1rem",
278
+ "--bs-navbar-toggler-border-color": "rgba(0,0,0, 0.15)"
279
+ }
280
+ }