Skip to content

Commit d32b860

Browse files
committed
docs(branding): correct the wordmark comments that named the removed script
Two TSDoc blocks still pointed at scripts/generate-email-wordmark.ts as how the email raster is produced. Point them at the committed export and the size constant that records its fill and scale instead.
1 parent ddc647c commit d32b860

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

apps/sim/components/emails/components/email-layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { getBaseUrl } from '@/lib/core/utils/urls'
66
import { getBrandConfig } from '@/ee/whitelabeling'
77

88
/**
9-
* Sim's own wordmark, rasterized from the shared brand outlines by
10-
* `scripts/generate-email-wordmark.ts`. Both dimensions are pinned because
11-
* email clients do no responsive image selection.
9+
* Sim's own wordmark: a committed raster export of the brand outlines in
10+
* `@/lib/branding/wordmark`, since email clients strip inline SVG. Both
11+
* dimensions are pinned because they do no responsive image selection either.
1212
*/
1313
const WORDMARK_SIZE = {
1414
width: String(EMAIL_WORDMARK_SIZE.width),

apps/sim/lib/branding/wordmark.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
/**
22
* The "sim" logotype paths from the v1.0 brand guide (`simLogotype--dark.svg`).
33
*
4-
* Shared so the two surfaces that draw the mark cannot drift. The landing
5-
* navbar inlines them as server-rendered SVG; `scripts/generate-email-wordmark.ts`
6-
* rasterizes the same paths into the PNG the email header uses, because email
7-
* clients (Gmail chief among them) strip inline SVG.
4+
* Shared so the surfaces that draw the mark cannot drift: `SimWordmark` inlines
5+
* them as server-rendered SVG for the navbar, footer, auth shell and settings
6+
* sidebar. The email header cannot — clients (Gmail chief among them) strip
7+
* inline SVG — so it renders a committed raster export of these same outlines;
8+
* {@link EMAIL_WORDMARK_SIZE} records how that file is produced.
89
*/
910
export const WORDMARK_VIEW_BOX = { width: 441, height: 212 } as const
1011

0 commit comments

Comments
 (0)