function lookOf
lookOf(settings?: Pick<UserSettings, "style" | "colorScheme"> | null): EmailLook

Returns the look of a reader's settings. An unset style is the instance's, as on the site, and an unset scheme the system's; with no settings at all, as for the welcome and reset emails, both are.

Parameters

optional
settings: Pick<UserSettings, "style" | "colorScheme"> | null = null

Return Type

Usage

import { lookOf } from "api/mail/layout.ts";