---
version: alpha
name: Go
description: "Dark interface measured from kanpho.go.th: Prompt type with Sarabun, red accents, flat surfaces and 12px corners."
colors:
  background: "#0D2A47"
  surface: "#0D2A47"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#B9CBDD"
  on-surface-muted: "#A9BDD0"
  on-surface-subtle: "#5D6B78"
  overlay: "#FFFFFF17"
  overlay-strong: "#FFFFFF59"
  primary: "#FF6F5E"
  on-primary: "#FFFFFF"
  secondary: "#1B4F86"
  tertiary: "#123759"
typography:
  headline-display:
    fontFamily: Prompt
    fontSize: 46px
    fontWeight: 600
    lineHeight: 1.12
    letterSpacing: -0.011em
  headline-lg:
    fontFamily: Prompt
    fontSize: 30px
    fontWeight: 600
    lineHeight: 1.25
  headline-md:
    fontFamily: Prompt
    fontSize: 25px
    fontWeight: 600
    lineHeight: 1.3
  body-md:
    fontFamily: Sarabun
    fontSize: 15.5px
    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: Prompt
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.65
  label-md:
    fontFamily: Prompt
    fontSize: 15px
    fontWeight: 500
    lineHeight: 1.65
  label-sm:
    fontFamily: Sarabun
    fontSize: 14.5px
    fontWeight: 500
    lineHeight: 1.45
  headline-display-mobile:
    fontFamily: Prompt
    fontSize: 32px
    fontWeight: 600
    lineHeight: 1.12
    letterSpacing: -0.016em
rounded:
  sm: 3px
  md: 10px
  lg: 12px
  xl: 18px
  full: 9999px
spacing:
  xs: 2px
  sm: 8px
  md: 10px
  lg: 20px
  xl: 64px
  gutter: 8px
  section: 64px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.lg}"
    padding: 14px 26px
    height: 56px
  button-secondary:
    backgroundColor: "{colors.primary}"
    textColor: "#2467AA"
    typography: "{typography.label-md}"
    rounded: 2px
    padding: 10px 14px
    height: 45px
  button-outline:
    backgroundColor: "{colors.background}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.md}"
    padding: 12px
    height: 45px
  button-ghost:
    textColor: "{colors.on-surface-variant}"
    rounded: "{rounded.full}"
    padding: 3px 11px
  card:
    backgroundColor: "{colors.on-surface}"
    textColor: "#16222E"
    typography: "{typography.body-md}"
    rounded: "{rounded.xl}"
    padding: 12px
  link:
    textColor: "{colors.on-surface-muted}"
---

# Go Design System

## Overview

Go describes itself as: “สำนักงานสาธารณสุขจังหวัดกาญจนบุรี — ศูนย์ข้อมูลข่าวสาร ประกาศจัดซื้อจัดจ้าง และระบบงานด้านสาธารณสุข” The interface is dark, built on **Deep Blue (#0D2A47)** with **White (#FFFFFF)** text, and **Red (#FF6F5E)** as the main accent.

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

Measured from [kanpho.go.th](https://www.kanpho.go.th/) on November 19, 2026 at 1440×900 and 390×844 from 130 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 11 roles, plus gradient stops #1B4F86, #2467AA.

- **Deep Blue (#0D2A47):** Page background, seen 3 times. Token `background`, CSS `--navy-900`.
- **White (#FFFFFF):** Primary text and headings, seen 15 times. Token `on-surface`, CSS `--card`.
- **Light Blue (#B9CBDD):** Secondary text, seen 4 times. Token `on-surface-variant`.
- **Light Blue (#A9BDD0):** Muted text and metadata, seen 13 times. Token `on-surface-muted`.
- **Blue (#5D6B78):** Subtle text and placeholders, seen 2 times. Token `on-surface-subtle`, CSS `--muted`.
- **White 9% (#FFFFFF17):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **White 35% (#FFFFFF59):** Stronger translucent fill, seen 3 times. Token `overlay-strong`.
- **Red (#FF6F5E):** Primary buttons and calls to action, seen 5 times. Token `primary`, CSS `--coral`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Dark Blue (#1B4F86):** Accent in text, fills and borders, seen 10 times. Token `secondary`, CSS `--blue-700`.
- **Deep Blue (#123759):** Accent in text, fills and borders, seen 5 times. Token `tertiary`, CSS `--navy-800`.

## Typography

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

- **headline-display:** Prompt 46px at weight 600, line height 1.12, tracking -0.011em (32px on mobile). Page title (h1).
- **headline-lg:** Prompt 30px at weight 600, line height 1.25. Section headings (h2).
- **headline-md:** Prompt 25px at weight 600, line height 1.3. Sub-section headings.
- **body-md:** Sarabun 15.5px 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:** Prompt 16px at weight 500, line height 1.65. Large buttons and tabs.
- **label-md:** Prompt 15px at weight 500, line height 1.65. Buttons, navigation and labels.
- **label-sm:** Sarabun 14.5px at weight 500, line height 1.45. Small labels and badges.

## Layout

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

- **Scale:** xs 2px, sm 8px, md 10px, lg 20px, xl 64px.
- **Sections:** 64px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 420px, 480px, 520px, 600px, 640px, 820px, 860px, 900px, 960px, 980px, 1300px, 1301px, 1400px.

## Elevation & Depth

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

- `rgba(13, 42, 71, 0.06) 0px 1px 2px 0px, rgba(13, 42, 71, 0.05) 0px 2px 6px 0px`
- `rgba(20, 102, 184, 0.25) 0px 6px 16px 0px`
- `rgba(255, 111, 94, 0.35) 0px 8px 24px 0px`

## Shapes

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

- **lg (12px):** 92 elements.
- **md (10px):** 44 elements.
- **full (9999px):** 36 elements.
- **sm (3px):** 16 elements.
- **xl (18px):** 16 elements.

## Components

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

- **button-primary (“อ่านนโยบาย”):** #FF6F5E fill, #FFFFFF text, 16px/500, 12px radius, padding 14px 26px, shadow `rgba(255, 111, 94, 0.35) 0px 8px 24px 0px`.
- **button-secondary (“หน้าแรก”):** #FF6F5E fill, #2467AA text, 15px/500, 2px radius, padding 10px 14px.
- **button-outline (“ประชาสัมพันธ์”):** #0D2A47 fill, #FFFFFF text, 14px/500, 10px radius, padding 12px.
- **button-ghost (“EN”):** transparent fill, #B9CBDD text, 12px/600, 999px radius, padding 3px 11px.
- **card:** #FFFFFF fill, #16222E text, 15.5px/400, 18px radius, padding 12px, shadow `rgba(13, 42, 71, 0.16) 0px 18px 50px 0px`.
- **link:** transparent fill, #A9BDD0 text, padding 0px.

## Do's and Don'ts

- Do use #0D2A47 for the page.
- Do keep text in 4 levels: #FFFFFF, #B9CBDD, #A9BDD0, #5D6B78.
- Do reserve #FF6F5E for primary actions and key highlights.
- Do set headlines in Prompt with tight tracking (-0.011em).
- Do reuse the measured spacing steps (8px, 10px, 20px).
- Do use 12px corners on most elements; larger surfaces also use 10px, 3px and 18px.
- Don't use #5D6B78 for body text; it reaches 2.67:1 on #0D2A47. Keep it for large text or metadata.
- Don't introduce new font families beyond Prompt and Sarabun.
- Don't use #FF6F5E for large backgrounds or body text.
- Don't make interface transitions slower than 0.25s.

## Motion

Interface transitions are quick: 0.15s, 0.18s, 0.25s, 0.2s.

- **Easing:** `ease`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/kanpho.go.th/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
