---
version: alpha
name: Phá Đảo Tiếng Nhật
description: "Light interface measured from phadaotiengnhat.com: system-ui type, vivid blue accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#F0F6FF"
  surface: "#F0F6FF"
  on-surface: "#18181B"
  on-background: "#18181B"
  on-surface-variant: "#1A2A54"
  on-surface-muted: "#3D4B63"
  on-surface-subtle: "#5B6B85"
  surface-container-low: "#E3EEFF"
  surface-container: "#FFFFFF"
  surface-container-high: "#DCEAFE"
  overlay: "#FFFFFF8C"
  outline: "#D3E4FC"
  outline-variant: "#FFFFFFB3"
  primary: "#2F7DF6"
  on-primary: "#FFFFFF"
  inverse-surface: "#111827"
  secondary: "#23376D"
  tertiary: "#1E5FD9"
typography:
  headline-display:
    fontFamily: system-ui
    fontSize: 64px
    fontWeight: 700
    lineHeight: 1.05
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: system-ui
    fontSize: 36px
    fontWeight: 900
    lineHeight: 1.11
    letterSpacing: -0.025em
  headline-md:
    fontFamily: system-ui
    fontSize: 30px
    fontWeight: 900
    lineHeight: 1.2
    letterSpacing: -0.025em
  body-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.63
  label-lg:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 700
    lineHeight: 1.5
  label-md:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 700
    lineHeight: 1.43
  label-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 900
    lineHeight: 1.33
    letterSpacing: 0.1em
  headline-display-mobile:
    fontFamily: system-ui
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.05
    letterSpacing: -0.025em
  headline-md-mobile:
    fontFamily: system-ui
    fontSize: 24px
    fontWeight: 900
    lineHeight: 1.33
    letterSpacing: -0.025em
rounded:
  sm: 12px
  md: 16px
  lg: 32px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 20px
  xl: 48px
  gutter: 8px
  section: 48px
  margin: 32px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.sm}"
    padding: 12px 20px
    height: 48px
  button-secondary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 14px 28px
    height: 48px
  button-outline:
    backgroundColor: "{colors.surface-container-high}"
    textColor: "{colors.primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 0px 16px
    height: 40px
  button-ghost:
    textColor: "{colors.on-surface-subtle}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.full}"
    padding: 8px 16px
  link:
    textColor: "{colors.on-surface-subtle}"
---

# Phá Đảo Tiếng Nhật Design System

## Overview

Phá Đảo Tiếng Nhật describes itself as: “Học tiếng Nhật toàn diện và ôn thi JLPT N5-N1: Kanji, từ vựng, ngữ pháp, nghe hiểu, đọc hiểu, kaiwa và luyện đề JLPT các năm, tất cả trong một web.” The interface is light, built on **Cool Snow (#F0F6FF)** with **Charcoal (#18181B)** text, and **Vivid Blue (#2F7DF6)** as the main accent.

Type is set in **system-ui**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Controls are pill-shaped.

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

## Colors

The palette has 16 roles, plus gradient stops #F97316, #DC2626, #EC4899, #8B5CF6.

- **Cool Snow (#F0F6FF):** Page background, seen 1 time. Token `background`.
- **Charcoal (#18181B):** Primary text and headings, seen 39 times. Token `on-surface`.
- **Deep Blue (#1A2A54):** Secondary text, seen 24 times. Token `on-surface-variant`.
- **Dark Blue (#3D4B63):** Muted text and metadata, seen 5 times. Token `on-surface-muted`.
- **Blue (#5B6B85):** Subtle text and placeholders, seen 31 times. Token `on-surface-subtle`.
- **Pale Blue (#E3EEFF):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **White (#FFFFFF):** Cards and panels, seen 18 times. Token `surface-container`, CSS `--tw-ring-offset-color`.
- **Pale Blue (#DCEAFE):** Hover and pressed fills, seen 4 times. Token `surface-container-high`.
- **White 55% (#FFFFFF8C):** Translucent fill for cards and controls, seen 4 times. Token `overlay`.
- **Pale Blue (#D3E4FC):** Borders and dividers, seen 5 times. Token `outline`.
- **White 70% (#FFFFFFB3):** Secondary dividers, seen 4 times. Token `outline-variant`.
- **Vivid Blue (#2F7DF6):** Primary buttons and calls to action, seen 41 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Deep Blue (#111827):** High-contrast fills, seen 1 time. Token `inverse-surface`.
- **Dark Blue (#23376D):** Secondary buttons, seen 4 times. Token `secondary`.
- **Blue (#1E5FD9):** Accent in text, fills and borders, seen 2 times. Token `tertiary`.

## Typography

**system-ui** carries the whole interface. Fallback stack: `ui-sans-serif, system-ui, sans-serif, Apple Color Emoji`. Other loaded fonts: Klee One, Noto Sans JP, Patrick Hand.

- **headline-display:** system-ui 64px at weight 700, line height 1.05, tracking -0.025em (30px on mobile). Page title (h1).
- **headline-lg:** system-ui 36px at weight 900, line height 1.11, tracking -0.025em. Section headings (h2).
- **headline-md:** system-ui 30px at weight 900, line height 1.2, tracking -0.025em (24px on mobile). Sub-section headings.
- **body-md:** system-ui 16px at weight 400, line height 1.5. Body text.
- **body-sm:** system-ui 14px at weight 400, line height 1.63. Secondary and small text.
- **label-lg:** system-ui 16px at weight 700, line height 1.5. Large buttons and tabs.
- **label-md:** system-ui 14px at weight 700, line height 1.43. Buttons, navigation and labels.
- **label-sm:** system-ui 12px at weight 900, line height 1.33, tracking 0.1em. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (80% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 16px, lg 20px, xl 48px.
- **Sections:** 48px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1280px.
- **Page margin:** 32px on each side of full-width sections.
- **Breakpoints:** 640px, 768px, 1023px, 1024px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`
- `rgb(255, 255, 255) 0px 0px 0px 0px, rgb(255, 255, 255) 0px 0px 0px 2px, rgba(239, 68, 68, 0.45) 0px 8px 20px 0px`

Hairline rings and inset highlights also appear: `rgba(30, 64, 175, 0.35) 0px 1.5px 3px 0px inset`.

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **full (9999px):** 128 elements.
- **sm (12px):** 44 elements.
- **md (16px):** 24 elements.
- **lg (32px):** 8 elements.

## Components

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

- **button-primary (“Vào lò luyện thi”):** #2F7DF6 fill, #FFFFFF text, 16px/700, 12px radius, padding 12px 20px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`.
- **button-secondary (“Bắt đầu học”):** #23376D fill, #FFFFFF text, 14px/700, 16px radius, padding 14px 28px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(35, 55, 109, 0.2) 0px 10px 15px -3px, rgba(35, 55, 109, 0.2) 0px 4px 6px -4px`.
- **button-outline (“Đăng nhập”):** #DCEAFE fill, #2F7DF6 text, 14px/700, 9999px radius, padding 0px 16px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`.
- **button-ghost (“Kanji”):** transparent fill, #5B6B85 text, 14px/600, 9999px radius, padding 8px 16px.
- **link:** transparent fill, #5B6B85 text, padding 0px.

## Do's and Don'ts

- Do use #F0F6FF for the page and lift surfaces in small steps: #E3EEFF, #FFFFFF, #DCEAFE.
- Do keep text in 4 levels: #18181B, #1A2A54, #3D4B63, #5B6B85.
- Do reserve #2F7DF6 for primary actions and key highlights.
- Do set headlines in system-ui with tight tracking (-0.025em).
- Do reuse the measured spacing steps (8px, 16px, 20px).
- Do make buttons and chips fully rounded (9999px); most other elements use 12px corners.
- Don't introduce new font families beyond system-ui.
- Don't use #2F7DF6 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.15s, 0.3s, 0.25s. Longer ambient animations run 1.1s, 0.7s, 3.8s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `ease-in-out`, `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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