# Compal Electronics DESIGN.md

> Public preview. The complete DESIGN.md source (all 49 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Dark, cinematic product-showcase identity for Compal Electronics (仁寶電腦) — near-black photography, a signature olive-green brand accent, Selawik type with universal 1px letterspacing, and translucent black chrome bars.

- Website: https://compal.com
- Primary color: Green `#64A70B`
- Fonts: Selawik Semilight, Selawik, Selawik Light
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/compal-electronics

## Palette preview

- `scrim`: `#000000`
- `primary`: `#64a70b`
- `surface`: `#ffffff`
- `secondary`: `#c58f03`
- `on-primary`: `#ffffff`
- `on-surface`: `#3a3e3d`
- `on-secondary`: `#ffffff`
- `scrim-strong`: `#3a3e3d`

## Typography preview

- `body-lg`: Selawik Semilight
- `body-md`: Selawik
- `headline-lg`: Selawik Light

---

## Overview

Compal's corporate homepage is a dark, cinematic device showcase: full-bleed product photography (a smart e-bike cockpit, automotive displays) sits under a heavy black scrim, with a single oversized light-weight headline — "FROM VISION TO REALITY" — and the lime-green COMPAL wordmark as the only color. The mood is confident and technology-forward, closer to a keynote slide than a brochure. Text is uniformly letterspaced, which gives even small nav items a measured, engineered rhythm. A translucent black utility bar carries topic shortcuts (5g | server | automotive) and language links.

## Colors

A monochrome canvas with one green accent.

- **Compal Olive Green (#64A70B):** The signature — the wordmark, icon accents, hover states. Used ~96 times in the stylesheet; it is the brand's only saturated hue.
- **Award Gold (#C58F03):** A single-use deep gold, seen on award/badge elements such as the iF Design Award mark.
- **Photographic blacks:** `#000000` surfaces, a 50% black scrim (`#00000080`) for the utility bar and overlays, and a 95% `#3A3E3D` near-opaque panel for flyout menus.
- **Text:** White on dark imagery; `#3A3E3D` / `#646464` on the rare light content areas.

## Typography

The brand face is **Selawik** (Microsoft's open corporate font) in Light and Semilight cuts, with **Noto Sans TC/SC** covering CJK. The defining trait is universal tracking: virtually every level carries ~1px letterspacing (0.5px on small text, up to 2px/6px on select accents).

- **Display:** ~60px Selawik Light, white, spaced — hero statements only.
- **Headings:** 24–36px light weights; uppercase eyebrow labels at 20px.
- **Body:** 17px Semilight on dark; 16px regular for lists.
- **Chrome:** Nav and buttons run small — 11–14px light with tracking.

## Layout

Full-viewport hero (no max-width container on the stage) with a two-tier header: a 28px translucent-black utility strip above a 50px main nav whose links float over the imagery. Content sections below alternate dark showcase panels and white product grids on a 15px base spacing unit (5/10/15/30/60/95 observed). Max text column ~630px.

## Elevation & Depth

No shadows anywhere — depth is photographic. Hierarchy comes from scrim opacity (50% for chrome, ~95% for menus) and the black-to-image contrast, not elevation tokens.

## Shapes

Sharp, engineered geometry. Interactive elements use only 4–5px radii; imagery and panels are square-edged. Pills and soft cards do not appear.

## Motion & Micro-interaction

Transitions are slow and atmospheric: 2s opacity fades for hero crossfades, 0.5s ease for header height/background changes and transforms, 0.75s for content reveals, and a quick 0.15s ease-in-out for input focus rings and 0.25s "all" hover settles. Use long fades on imagery, short eases on chrome; keep everything on `opacity`/`transform`.

## Voice & Content Strategy

Minimal, declarative English paired with localized nav labels. The hero pairs a four-word manifesto ("FROM VISION TO REALITY") with a spaced subtitle ("I n n o v a t i o n   E m p o w e r e d" — letterspaced to the point of separation). Nav labels are terse lowercase keywords: "5g | server | automotive". Chinese UI (zh-hans/zh-hant/VN) mirrors the same brevity — 首页, 仁宝价值, 我们的服务.

## Components

- **Utility bar (`nav-utility`):** 28px translucent black strip, 11px letterspaced white links separated by `|`.
- **Main nav:** Transparent over the hero, white 14px lowercase-ish links, COMPAL green wordmark left, language toggle (`EN 繁 VN`) and search icon right.
- **Hero:** Full-bleed scrimmed photography, centered-left 60px display + spaced subtitle, chevron scroll cue.
- **Search input:** Transparent field with white 17px Semilight text over the dark header.
- **Language pill:** Small translucent rounded (4px) toggle for locale switching.

## Do's and Don'ts

- Do keep the canvas dark and let product photography supply the drama.
- Do apply ~1px letterspacing to virtually all text — it is the system's signature.
- Do reserve the olive green `#64A70B` for the wordmark, icons, and key hover accents.
- Do use Selawik Light for headlines; never bold display type.
- Don't add drop shadows, gradients on UI chrome, or rounded cards — depth comes from photographic scrims.
- Don't place light text on photography without the dark scrim.
- Don't use bright multi-hue palettes; gold `#C58F03` is reserved for award marks only.
- Don't uppercase whole sentences beyond short eyebrow labels.
