DESIGN.md · Analysis

Chánh Đại

chanhdai.com · 16 Sept 2026 · 47 colors · GeistSans, GeistMono

Chánh Đại

A design engineer's personal portfolio showcasing code-driven design with meticulous attention to detail. The aesthetic blends minimalist typography with isometric illustration and a refined monochromatic palette.

Colors

surface#ffffff
surface-dim#fafafa
surface-bright#ffffff
surface-container-lowest#f4f4f5
surface-container-low#efefef
surface-container#e4e4e7
surface-container-high#d4d4d8
surface-container-highest#a1a1a6
on-surface#09090b
on-surface-variant#71717b
inverse-surface#09090b
inverse-on-surface#fafafa
outline#52525c
outline-variant#9f9fa9
surface-tint#09090b
primary#09090b
on-primary#ffffff
primary-container#27272a
on-primary-container#e4e4e7
inverse-primary#fafafa
secondary#71717b
on-secondary#ffffff
secondary-container#a1a1a6
on-secondary-container#09090b
tertiary#52525c
on-tertiary#ffffff
tertiary-container#9f9fa9
on-tertiary-container#09090b
error#dc2626
on-error#ffffff
error-container#fee2e2
on-error-container#7f1d1d
primary-fixed#27272a
primary-fixed-dim#18181b
on-primary-fixed#ffffff
on-primary-fixed-variant#e4e4e7
secondary-fixed#a1a1a6
secondary-fixed-dim#71717b
on-secondary-fixed#ffffff
on-secondary-fixed-variant#09090b
tertiary-fixed#9f9fa9
tertiary-fixed-dim#52525c
on-tertiary-fixed#ffffff
on-tertiary-fixed-variant#09090b
background#ffffff
on-background#09090b
surface-variant#e4e4e7

Typography

display
fontFamily: GeistSans · fontSize: 60px · fontWeight: 700 · lineHeight: 68px · letterSpacing: -0.04em
headline-lg
fontFamily: GeistSans · fontSize: 40px · fontWeight: 600 · lineHeight: 48px · letterSpacing: -0.02em
headline-md
fontFamily: GeistSans · fontSize: 32px · fontWeight: 500 · lineHeight: 40px · letterSpacing: -0.01em
title-lg
fontFamily: GeistSans · fontSize: 20px · fontWeight: 600 · lineHeight: 28px · letterSpacing: 0em
body-lg
fontFamily: GeistSans · fontSize: 18px · fontWeight: 400 · lineHeight: 28px · letterSpacing: 0em
body-md
fontFamily: GeistSans · fontSize: 16px · fontWeight: 400 · lineHeight: 24px · letterSpacing: 0em
label-md
fontFamily: GeistSans · fontSize: 14px · fontWeight: 500 · lineHeight: 20px · letterSpacing: 0.01em
label-sm
fontFamily: GeistMono · fontSize: 12px · fontWeight: 500 · lineHeight: 16px · letterSpacing: 0.02em

Design guidance

Overview

Chánh Đại is a design engineer's personal portfolio that embodies the philosophy of 'Precision Minimalism'—a design movement that prioritizes functional clarity, meticulous typography, and restrained visual hierarchy. The brand serves creative technologists and design-conscious developers who value the intersection of code and craft. The aesthetic is deliberately monochromatic (primary #09090b, surface #ffffff, with carefully calibrated grays from #fafafa to #a1a1a6), creating a canvas where isometric illustrations and geometric line work become focal points. The UI evokes a sense of controlled sophistication: clean, intentional, never decorative. Voice: precise, conversational, occasionally playful. The brand speaks in the language of implementation details and thoughtful constraints. Example sentence: 'Small details matter—every pixel, every transition, every interaction has a reason.'

Colors

The color system operates on a strict monochromatic foundation with a single neutral accent palette. Primary (#09090b) is the near-black used for text, interactive elements, and focus states—it is the signature color of CTAs and active states. Surface (#ffffff) is the dominant background, with a carefully stratified gray stack (surface-dim #fafafa, surface-container-lowest #f4f4f5, surface-container #e4e4e7, surface-container-high #d4d4d8) creating subtle depth without visual noise. On-surface (#09090b) pairs with surface for maximum contrast (WCAG AAA compliant). Secondary (#71717b) and tertiary (#52525c) are mid-tone grays used for secondary text, disabled states, and supporting UI elements. The outline (#52525c) and outline-variant (#9f9fa9) define borders and dividers. Error (#dc2626)

Typography

The type system uses GeistSans as the primary typeface (a modern, geometric sans-serif optimized for screen rendering) paired with GeistMono for code and technical labels. The hierarchy spans from display (60px, 700 weight) for hero moments down to label-sm (12px, 500 weight, GeistMono) for metadata and timestamps. Headline-md (32px, 500 weight) is the workhorse for section titles and card headers, maintaining visual weight without aggression. Body-md (16px, 400 weight, 24px line-height) is the baseline for all prose, ensuring 1.5x line-height for comfortable reading on screens. Letter-spacing is deliberately minimal (0em to -0.04em on display) to preserve the geometric precision of the typeface. Apply text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) on small labels (label-sm) when layered over

Layout

The layout follows a 12-column grid with a max-width of 1280px, maintaining a fluid layout on mobile (full bleed to edges with 24px gutter) and a centered container on desktop. The spacing scale is semantic: xs (4px) for micro-interactions and icon spacing, sm (12px) for component internal padding, md (24px) for section separation and card padding, lg (40px) for major section breaks, and xl (64px) for hero spacing. The page rhythm emphasizes breathing room—sections are separated by lg spacing (40px) to create visual pauses and allow the eye to rest. Cards and containers use md padding (24px) internally, with surface-container-high (#d4d4d8) 1px borders to define edges without visual heaviness. The container-max of 1280px ensures content never stretches beyond comfortable reading width. Whi

Elevation & Depth

Depth is conveyed through subtle shadows and border treatments rather than layering or transparency. Level 1 (Base): flat surface with no shadow, representing the primary content plane. Level 2 (Cards/Containers): 1px solid border in surface-container-high (#d4d4d8) with box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), creating a soft separation from the background. Level 3 (Modals/Popovers): same border treatment with box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), amplifying the shadow spread and blur for greater perceived distance. Hover states on interactive elements elevate to Level 2 shadow (0 4p

Shapes

The shape philosophy is 'Architectural Precision'—rounded corners are used sparingly and consistently to signal interaction without compromising the geometric clarity of the interface. Buttons and inputs use rounded.lg (1rem / 16px) for a subtle softness that feels contemporary without being playful. Cards and containers use rounded.DEFAULT (0.5rem / 8px) for a more restrained appearance, maintaining the rectilinear grid. Avatars and badges use rounded.full (9999px) for perfect circles, creating visual contrast against the rectangular grid. The rationale: larger radius values (lg) on interacti

Components

Action Elements Buttons follow a binary system: primary (solid background #09090b, white text, 40px height, 8px 16px padding, rounded.lg) for main CTAs, and secondary (transparent background, 1px border in outline-variant #9f9fa9, primary text, same dimensions) for secondary actions. Hover state on primary buttons shifts to primary-container (#27272a) with elevation.md shadow (0 4px 12px rgba(0, 0, 0, 0.1)). Focus state adds a 2px inset outline in primary at 10% opacity. All buttons use label-md typography (14px, 500 weight) and transition: background-color 200ms ease, box-shadow 200ms ease for smooth state changes. Disabled buttons reduce opacity to 50% and set cursor: not-allowed.

Containers & Surfaces Cards use a 1px border in surface-container-high (#d4d4d8), rounded.DEFAULT (

Do's and Don'ts

**Do**

  • Do use the monochromatic palette as a constraint—every color choice should serve information hierarchy or interaction feedback, never decoration.
  • Do maintain consistent 24px gutters and 40px section spacing to create visual rhythm and breathing room.
  • Do apply elevation.md shadow (0 4px 12px rgba(0, 0, 0, 0.1)) on hover states for interactive elements to signal depth and clickability.
  • Do use GeistSans for all UI text and GeistMono exclusively for code snippets, timestamps, and technical metadata.
  • Do pair headline-md (32px, 500 weight) with body-md (16px, 400 weight) for optimal visual hierarchy without excessive weight variation.

**Don't**

  • Don't introduce colored accents or saturated highlights—the monochromatic palette is the brand's signature constraint.
  • Don't use box-shadow values larger than elevation.lg (0 16px 40px rgba(0, 0, 0, 0.12)) as they break the minimalist aesthetic.
  • Don't apply rounded corners larger than rounded.lg (16px) on buttons or inputs—it dilutes the architectural precision.
  • Don't mix typefaces beyond GeistSans and GeistMono—system fonts or serif faces contradict the code-first philosophy.
  • Don't use opacity or transparency for interactive states—rely on background color shifts and shadows instead for clarity.

Made by Sokosumi: AI coworkers for marketing

This tool is free. Sokosumi gives marketing teams AI coworkers that deliver finished work as files: research, briefings, reports and content.

Start free

*No Credit Card required