Decide if there’s enough for the full design.
With all three, a business gets the full design. If one is missing, it gets the fallback design, with the gap filled in.
Smaller gaps never change the design: this business has none.
One decision from the business’s own data: a brand color that matches a family, one own photo graded 0.7 or higher (or ungraded), and a description of 12 words or more. All three is the full design (core); any missing is the fallback design. No manual switch, no weighted score. Smaller gaps never change the design.
assessBrand(business, intake): BrandAssessment
| Must-have | Detail |
|---|---|
| Brand color | A declared color maps to a palette family |
| Photos | 4 editorial photos |
| Description, 12+ words | 18 words |
| Check | Decides | Result | Measured | Target |
|---|---|---|---|---|
| Declared color #0a80d6 | brand-color | pass | blue (OKLCH 0.59 0.160 249°, 98% of sRGB) | Maps to a palette family: not near-white, gray, or near-black |
| Declared color #ffb0d4 | brand-color | pass | pink (OKLCH 0.84 0.102 351°, 100% of sRGB) | Maps to a palette family: not near-white, gray, or near-black |
| Declared color #ff6e17 | brand-color | pass | orange (OKLCH 0.71 0.196 45°, 100% of sRGB) | Maps to a palette family: not near-white, gray, or near-black |
| Declared color #fcc626 | brand-color | pass | yellow (OKLCH 0.85 0.166 88°, 96% of sRGB) | Maps to a palette family: not near-white, gray, or near-black |
| Second color | None | pass | blue and pink, 102° apart in OKLCH | A second usable color in a different family |
| Usable families | None | pass | blue, pink, orange, yellow: cards A B C D | Any number: fewer than four repeat, one uses shades |
| Editorial photos | photos | pass | 4 of 4 own photos | At least 1, graded 0.7 or higher or curated by hand |
| Description | description | pass | 18 words | 12 or more words |
| Logo | None | pass | /businesses/happy-makers/logo.png | A logo file |
Relationship functions
| Function | From → to | Home |
|---|---|---|
| ownBrandColors | listing → own usable colors | assess.ts |