---
version: alpha
name: laokhwan
description: "Dark interface measured from laokhwanhos.com: Sarabun type, deep cyan accents, flat surfaces and 10px corners."
colors:
  background: "#062E3F"
  surface: "#062E3F"
  on-surface: "#AEC8D4"
  on-background: "#AEC8D4"
  on-surface-strong: "#FFFFFF"
  on-surface-variant: "#D6EAF2"
  on-surface-muted: "#6C8196"
  overlay: "#FFFFFF14"
  overlay-strong: "#FFFFFF24"
  outline: "#FFFFFF4D"
  outline-variant: "#FFFFFF26"
  primary: "#074E66"
  on-primary: "#FFFFFF"
  secondary: "#0A7EA4"
  tertiary: "#4CB4D1"
typography:
  headline-display:
    fontFamily: Sarabun
    fontSize: 52px
    fontWeight: 800
    lineHeight: 1.1
    letterSpacing: -0.01em
  headline-lg:
    fontFamily: Sarabun
    fontSize: 32px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: -0.01em
  body-md:
    fontFamily: Sarabun
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.65
  body-sm:
    fontFamily: Sarabun
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.65
  caption:
    fontFamily: Sarabun
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.65
  label-lg:
    fontFamily: Sarabun
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.65
  label-md:
    fontFamily: Sarabun
    fontSize: 15.5px
    fontWeight: 500
  label-sm:
    fontFamily: Sarabun
    fontSize: 15px
    fontWeight: 600
    lineHeight: 1.65
  headline-display-mobile:
    fontFamily: Sarabun
    fontSize: 24px
    fontWeight: 800
    lineHeight: 1.1
    letterSpacing: -0.01em
rounded:
  sm: 8px
  md: 10px
  lg: 14px
  xl: 22px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 14px
  lg: 24px
  xl: 40px
  gutter: 8px
  section: 88px
components:
  button-primary:
    backgroundColor: "{colors.on-surface-strong}"
    textColor: "{colors.primary}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.md}"
    padding: 12px 22px
    height: 50px
  button-secondary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-surface-strong}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 11px 18px
    height: 50px
  button-secondary-hover:
    backgroundColor: "{colors.primary}"
  button-tertiary:
    backgroundColor: "#E8F3F8"
    textColor: "{colors.primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 10px 14px
    height: 46px
  button-ghost:
    textColor: "#3A5267"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 10px 14px
  card:
    backgroundColor: "{colors.overlay-strong}"
    textColor: "{colors.on-surface-strong}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 18px 20px
  link:
    textColor: "{colors.on-surface}"
---

# laokhwan Design System

## Overview

The interface is dark, built on **Deep Cyan (#062E3F)** with **Light Cyan (#AEC8D4)** text, and **Deep Cyan (#074E66)** as the main accent.

Type is set in **Sarabun**. Headlines run large with tight negative tracking; body text is 17px. Depth comes from soft drop shadows. Corners are mostly 10px.

Measured from [laokhwanhos.com](https://laokhwanhos.com/) on November 11, 2026 at 1440×900 and 390×844 from 153 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 13 roles.

- **Deep Cyan (#062E3F):** Page background, seen 2 times. Token `background`.
- **Light Cyan (#AEC8D4):** Primary text and headings, seen 17 times. Token `on-surface`.
- **White (#FFFFFF):** Headings and emphasis, seen 9 times. Token `on-surface-strong`.
- **Pale Cyan (#D6EAF2):** Secondary text, seen 4 times. Token `on-surface-variant`.
- **Blue (#6C8196):** Muted text and metadata, seen 3 times. Token `on-surface-muted`, CSS `--muted`.
- **White 8% (#FFFFFF14):** Translucent fill for cards and controls, seen 7 times. Token `overlay`.
- **White 14% (#FFFFFF24):** Stronger translucent fill, seen 4 times. Token `overlay-strong`.
- **White 30% (#FFFFFF4D):** Borders and dividers, seen 5 times. Token `outline`.
- **White 15% (#FFFFFF26):** Secondary dividers, seen 4 times. Token `outline-variant`.
- **Deep Cyan (#074E66):** Brand color in the header, seen 5 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Dark Cyan (#0A7EA4):** Secondary buttons, seen 13 times. Token `secondary`.
- **Cyan (#4CB4D1):** Accent (CSS variable). Token `tertiary`.

## Typography

**Sarabun** carries the whole interface. Fallback stack: `Sarabun, sans-serif`. Other loaded fonts: Font Awesome 6 Brands, Font Awesome 6 Free.

- **headline-display:** Sarabun 52px at weight 800, line height 1.1, tracking -0.01em (24px on mobile). Page title (h1).
- **headline-lg:** Sarabun 32px at weight 700, line height 1.25, tracking -0.01em. Section headings (h2).
- **body-md:** Sarabun 17px at weight 400, line height 1.65. Body text.
- **body-sm:** Sarabun 14px at weight 400, line height 1.65. Secondary and small text.
- **caption:** Sarabun 13px at weight 400, line height 1.65. Captions and fine print.
- **label-lg:** Sarabun 16px at weight 600, line height 1.65. Large buttons and tabs.
- **label-md:** Sarabun 15.5px at weight 500. Buttons, navigation and labels.
- **label-sm:** Sarabun 15px at weight 600, line height 1.65. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 53% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 4px, sm 8px, md 14px, lg 24px, xl 40px.
- **Sections:** 88px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 600px, 720px, 900px, 1100px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(11, 34, 52, 0.04) 0px 1px 2px 0px, rgba(11, 34, 52, 0.03) 0px 1px 1px 0px`
- `rgba(0, 0, 0, 0.2) 0px 4px 16px 0px`

## Shapes

Most elements use 10px corners. Measured radii, most used first:

- **md (10px):** 80 elements.
- **lg (14px):** 64 elements.
- **full (9999px):** 36 elements.
- **sm (8px):** 8 elements.
- **xl (22px):** 8 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“นัดหมายออนไลน์”):** #FFFFFF fill, #074E66 text, 15px/700, 10px radius, padding 12px 22px, shadow `rgba(0, 0, 0, 0.2) 0px 4px 16px 0px`.
- **button-secondary (“นัดหมายออนไลน์”):** #0A7EA4 fill, #FFFFFF text, 17px/600, 10px radius, padding 11px 18px, shadow `rgba(11, 34, 52, 0.04) 0px 1px 2px 0px, rgba(11, 34, 52, 0.03) 0px 1px 1px 0px`.
- **button-secondary-hover:** background #074E66, text #FFFFFF on hover.
- **button-tertiary (“หน้าหลัก”):** #E8F3F8 fill, #074E66 text, 15.5px/600, 10px radius, padding 10px 14px.
- **button-ghost (“เกี่ยวกับเรา”):** transparent fill, #3A5267 text, 15.5px/500, 10px radius, padding 10px 14px.
- **card:** #FFFFFF24 fill, #FFFFFF text, 17px/400, 14px radius, padding 18px 20px, border 1px solid #FFFFFF4D.
- **link:** transparent fill, #AEC8D4 text, padding 0px.

## Do's and Don'ts

- Do use #062E3F for the page.
- Do keep text in 4 levels: #AEC8D4, #FFFFFF, #D6EAF2, #6C8196.
- Do use #074E66 as the brand accent: header, logo and key highlights.
- Do set headlines in Sarabun with tight tracking (-0.01em).
- Do reuse the measured spacing steps (8px, 14px, 24px).
- Do use 10px corners on most elements; larger surfaces also use 14px, 8px and 22px.
- Don't use #6C8196 for body text; it reaches 3.55:1 on #062E3F. Keep it for large text or metadata.
- Don't introduce new font families beyond Sarabun.
- Don't use #074E66 for large backgrounds or body text.
- Don't make interface transitions slower than 0.55s.

## Motion

Interface transitions are quick: 0.15s, 0.25s, 0.12s, 0.55s.

- **Easing:** `ease`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/laokhwanhos.com/), the free DESIGN.md generator (engine 2026.10.29+b828a475ee10).
