Files
tern-android/docs/branding-spec.md
Mateusz PstruchaandClaude Opus 5 6d63d92766 Initial Android app scaffold
Compose + Material 3 with dynamic color and the branding palette as
static fallback, edge-to-edge drawing, SplashScreen API, and predictive
back. Adaptive launcher icon includes a monochrome variant for themed
icons; the mark itself is a placeholder pending icon design.

No Play Services or Firebase anywhere in the dependency tree, verified
against the resolved runtime classpath.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 19:01:07 +02:00

81 lines
5.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tern — Branding Doc
Name decided: **Tern**. This doc covers default color palette and icon direction; the naming shortlist that led here is kept in §4 for reference.
Ties into the theming decisions in the Android and webapp design docs (Android: dynamic color where available, static fallback otherwise; webapp: static palette only, decided).
---
## 1. Default Color Palette — Decided
Palette is set (exported from a color design tool, values below are the ones that matter — treat the original export's other syntax as noise):
```css
:root[data-theme="light"] {
--text: #0c0a10;
--background: #f4f3f7;
--primary: #988fa8;
--secondary: #c3c7d5;
--accent: #f39a39;
}
:root[data-theme="dark"] {
--text: #f1eff5;
--background: #09080c;
--primary: #605770;
--secondary: #2a2e3c;
--accent: #c66c0c;
}
```
Reads as a muted violet-grey primary/secondary pair with a warm orange accent — matches the "calm, not loud" direction from the original brief well, and the orange accent avoids the sea-of-blue-mail-icons problem noted below (§2).
**Where each token is used, roughly:**
- `--text` / `--background`: base page text and surface.
- `--primary`: the app's dominant UI color — nav/sidebar surfaces, primary buttons, selected states.
- `--secondary`: secondary surfaces — borders, dividers, unselected/inactive UI, hover backgrounds.
- `--accent`: sparingly, for things that need to stand out from the calm primary/secondary — unread indicators, the compose button, notification badges, links.
**Applies to both clients:**
- **Webapp**: this is the actual palette, consumed directly as CSS custom properties (see the webapp design doc, §4) — no generation step needed, it's already final.
- **Android**: use this as the **static fallback palette** (API <12, or dynamic color disabled) — derive a Material 3-compatible tonal scheme from these five colors (e.g. via Material Theme Builder, feeding `--accent` in as the seed) rather than hand-placing them into Compose's color roles one at a time, so you get correctly-contrasted tonal variants (hover/pressed/disabled states, surface elevation) rather than just the five raw values. When dynamic color *is* active, the system wallpaper palette takes over as designed — this fallback only matters when it isn't available.
**Neutral/surface colors**: `--background`/`--secondary` already cover the two ends of a light/dark neutral scale; if more granular surface elevation levels are needed (e.g. Material 3's surface-container tiers on Android), interpolate between them rather than introducing new unrelated greys.
---
## 2. Icon Direction
- **Keep it a single, simple mark** — one shape, one or two colors max, works down to a 24×24 favicon and up to a 512×512 store listing without needing different detail levels.
- **Avoid an envelope glyph** — it's the single most overused email-app icon shape (Gmail, Outlook, Apple Mail, Thunderbird, Spark, and dozens of others all use envelope variants), so it's the hardest shape to make distinctive and the easiest to blend into a phone's homescreen. With "Tern" as the name, there's a natural way out of this anyway (below).
- **Bird mark, tied to the name**: a simple geometric tern silhouette — a forked-tail, in-flight wing shape reads clearly at small sizes and is fairly distinctive as a category (most mail-app icons are envelopes or abstract blobs, not birds). Keep it abstracted/geometric rather than a literal illustrated bird — a few clean angular strokes, not feather detail — so it holds up at 16×16 and doesn't read as twee at 512×512.
- Alternative if the literal bird ends up feeling too cute in practice: a single wing/chevron shape alone (implying flight/motion without being a full bird), using the `--accent` orange (§1) so the icon and app color are inherently linked.
**Required export set** (ties to both client docs):
- 192×192 and 512×512 standard icons (webapp manifest)
- A **maskable** variant (safe-zone padding so it isn't clipped when the OS applies its own mask shape) for both Android and PWA install
- A **monochrome/themed** variant (single-color silhouette, API 33+) so the Android launcher icon can tint to the system's dynamic color instead of showing your static brand color on every homescreen
- Standard favicon sizes (16×16, 32×32) generated down from the same master mark, not redrawn separately
---
## 3. Open Items for Later
- **Do a real trademark/domain search for "Tern"** before treating the name as final — the check that led here (§4) was a quick sanity pass, not a clearance search.
- Wordmark/typeface pairing for "Tern" — not addressed here, worth a short follow-up now that naming is settled.
- Whether the icon mark shows up anywhere in the webapp UI itself (e.g. empty states, loading screens) or stays purely an app-icon/favicon asset.
---
## 4. Naming Shortlist (reference — decision already made, kept for context)
Other directions considered before settling on **Tern**, in case any of these end up useful later (a product line name, a subdomain, etc.). Worth knowing up front: **Postbox**, **Thunderbird**, **K-9 Mail**, **Dove**, **Spark**, **Mailbird**, **BlueMail** are all existing, actively-used email client names that were avoided.
- **Nook** — evokes a small, quiet, personal space rather than a busy inbox.
- **Fen** — short, calm, slightly unusual, memorable as a wordmark.
- **Quire** — old word for a set of folded pages (paper/letters association) without being on-the-nose "mail."
- **Parcel** — evokes something arriving, distinct from "inbox"/"mail" clichés. (Also used by an unrelated JS build-tool project — fine for an unrelated category, but worth knowing.)
- **Envoy** — "the thing that carries the message."
- **Petrel** — same bird family as Tern, if a different specific bird ever appealed more.
- **Fetch** — plain, references the IMAP-fetch mechanic directly.
- **Relay** — technically accurate (it relays between IMAP and you), clean word, easy to pronounce in multiple languages.