@vibes.diy/prompts 14.3.227 → 14.3.229

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.
@@ -24,6 +24,10 @@ export const matchStyleConfig = {
24
24
  "ios settings",
25
25
  "human interface guidelines",
26
26
  "match this screenshot",
27
+ "my existing website",
28
+ "my existing site",
29
+ "our existing website",
30
+ "our existing site",
27
31
  ],
28
32
  };
29
33
  //# sourceMappingURL=match-style.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"match-style.js","sourceRoot":"","sources":["../../jsr/llms/match-style.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,gBAAgB,GAAc;IACzC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,KAAK,EAAE,aAAa;IACpB,WAAW,EACT,2bAA2b;IAC7b,IAAI,EAAE;QACJ,eAAe;QACf,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,eAAe;QACf,cAAc;QACd,aAAa;QACb,YAAY;QACZ,UAAU;QACV,eAAe;QACf,YAAY;QACZ,SAAS;QACT,UAAU;QACV,YAAY;QACZ,cAAc;QACd,iBAAiB;QACjB,QAAQ;QACR,cAAc;QACd,4BAA4B;QAC5B,uBAAuB;KACxB;CACF,CAAC"}
1
+ {"version":3,"file":"match-style.js","sourceRoot":"","sources":["../../jsr/llms/match-style.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,gBAAgB,GAAc;IACzC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,KAAK,EAAE,aAAa;IACpB,WAAW,EACT,2bAA2b;IAC7b,IAAI,EAAE;QACJ,eAAe;QACf,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,eAAe;QACf,cAAc;QACd,aAAa;QACb,YAAY;QACZ,UAAU;QACV,eAAe;QACf,YAAY;QACZ,SAAS;QACT,UAAU;QACV,YAAY;QACZ,cAAc;QACd,iBAAiB;QACjB,QAAQ;QACR,cAAc;QACd,4BAA4B;QAC5B,uBAAuB;QAGvB,qBAAqB;QACrB,kBAAkB;QAClB,sBAAsB;QACtB,mBAAmB;KACpB;CACF,CAAC"}
@@ -493,6 +493,35 @@ function SettingsGroup({ title, rows }) {
493
493
  }
494
494
  ```
495
495
 
496
+ ## A site to match from its address
497
+
498
+ **Asked as:** "match the look of my existing website at https://…", "make it
499
+ fit my site", a shop or page meant to sit as a link in the header of a site the
500
+ person already has. Fetch the address with `fetch_url`. An HTML page comes back
501
+ with `look` beside its text: `themeColor`, `colors` (most used first),
502
+ `colorVars` (the site's own names, such as `--brand-red`), `fonts` (most used
503
+ first), `fontLinks`, `logo`, `shareImage` and `icon`. That digest is the brand
504
+ kit: map it with the steps in "Brand kit from the maker" below.
505
+
506
+ - **Palette.** A `colorVars` name that says its job (`brand`, `primary`,
507
+ `accent`, `background`, `text`, `button`) goes to that variable as written.
508
+ Otherwise the lightest frequent colour is the ground, the darkest is the ink,
509
+ and the most frequent colour that is neither white, black nor grey is
510
+ `--primary`.
511
+ - **Type.** A `fontLinks` URL from Google Fonts or Bunny goes in the `@import`
512
+ exactly as given, with its family as the font. A font the site hosts itself
513
+ (`BentonSans`, `PitchSans`) cannot load in the app: use the closest Google
514
+ family, and name the pair in a comment (`/* site: BentonSans → Work Sans */`).
515
+ - **Logo.** A `logo` URL is the brand mark: show it as an `<img>` in the
516
+ header, at the site's own height, linking back to the site. `shareImage` is a
517
+ brand picture, often a hero photo, and is never shown as the logo.
518
+ - **Blank text, look present.** A site built in JavaScript can come back
519
+ `blank: true` with a `look` read from its HTML and CSS: wear the look, and
520
+ take the words from the person.
521
+ - **No `look`.** Nothing to match: build from the page's words, tell the person
522
+ the site could not be read for its look, and offer to take their colours and
523
+ font instead.
524
+
496
525
  ## Brand kit from the maker
497
526
 
498
527
  **Asked as:** "our brand colours are #…", "use our palette", "our font is …", "match our logo".
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/prompts",
3
- "version": "14.3.227",
3
+ "version": "14.3.229",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "exports": {
@@ -39,10 +39,10 @@
39
39
  "license": "Apache-2.0",
40
40
  "dependencies": {
41
41
  "@adviser/cement": "~0.5.34",
42
- "@vibes.diy/api-types": "14.3.227",
43
- "@vibes.diy/call-ai-v2": "14.3.227",
44
- "@vibes.diy/identity": "14.3.227",
45
- "@vibes.diy/use-vibes-types": "14.3.227",
42
+ "@vibes.diy/api-types": "14.3.229",
43
+ "@vibes.diy/call-ai-v2": "14.3.229",
44
+ "@vibes.diy/identity": "14.3.229",
45
+ "@vibes.diy/use-vibes-types": "14.3.229",
46
46
  "arktype": "~2.2.8",
47
47
  "json-schema-faker": "~0.6.3"
48
48
  },