# Sunnafh design system

> Sunnafh design system measured from sunnafh.com: PingFangSC-Regular font, 9 color hex codes, type scale, spacing and a free DESIGN.md. Free.

Canonical page: https://sitepeel.dev/design-md/sunnafh.com/

Sunnafh’s website (sunnafh.com) uses the PingFangSC-Regular font on a #1F1F1F background. Measured by Sitepeel on November 25, 2026.

## What font does Sunnafh use?

Sunnafh uses PingFangSC-Regular (weights 400, 500 and 600) and PingFang SC (weights 400 and 600) on sunnafh.com. Page titles are 28px at weight 600 (24px on phones) and body text is 16px. Measured on November 25, 2026.

- PingFangSC-Regular (weights 400, 500, 600)
- PingFang SC (weights 400, 600)

## Sunnafh colors: palette and hex codes

Sunnafh’s main colors are #1F1F1F (charcoal) for the background and #FFFFFF (white) for text. Measured on November 25, 2026.

- #1F1F1F: charcoal (rgb(31, 31, 31), hsl(0, 0%, 12%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #D2D2D2: silver (rgb(210, 210, 210), hsl(0, 0%, 82%))
- #A5A5A5: gray (rgb(165, 165, 165), hsl(0, 0%, 65%))
- #9B9B9B: gray (rgb(155, 155, 155), hsl(0, 0%, 61%))
- #000000: near black (rgb(0, 0, 0), hsl(0, 0%, 0%))

## What is Sunnafh built with?

Sunnafh’s website (sunnafh.com) is built with Next.js, React, styled-components and Swiper. Measured on November 25, 2026.

- JavaScript framework: Next.js 14.2.4, React 18.3.0-canary-14898b6a9-
- UI & CSS: styled-components 6.1.1, Swiper

## Questions and answers

### What font does Sunnafh use?

Sunnafh’s website uses PingFangSC-Regular (weights 400, 500 and 600) and PingFang SC (weights 400 and 600). Page titles are 28px at weight 600 (24px on phones) and body text is 16px. Measured on November 25, 2026.

### What are the Sunnafh colors and hex codes?

On sunnafh.com: #1F1F1F (charcoal) for the background and #FFFFFF (white) for text. The color palette above lists all 9 colors with their hex codes and where each one is used.

### What is the Sunnafh design system?

The design system on this page is sunnafh.com’s, as measured on November 25, 2026: PingFangSC-Regular type and 100px corners, written down as a DESIGN.md. It is not Sunnafh’s own documentation.

### What is Sunnafh built with?

Sunnafh’s website (sunnafh.com) is built with Next.js, React, styled-components and Swiper. Measured on November 25, 2026.

### What is the Sunnafh DESIGN.md?

A plain-text file with Sunnafh’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Sunnafh’s official design system?

No. Sitepeel measured it from sunnafh.com’s public page on November 25, 2026. It is an independent analysis, not made or approved by Sunnafh.

### Can I use Sunnafh’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Sunnafh’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/sunnafh.com/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Sunnafh.

## The DESIGN.md file

```markdown
---
version: alpha
name: Sunnafh
description: "Dark monochrome interface measured from sunnafh.com: PingFangSC-Regular type with PingFang SC, flat surfaces and 100px corners."
colors:
  background: "#1F1F1F"
  surface: "#1F1F1F"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#D2D2D2"
  on-surface-muted: "#A5A5A5"
  on-surface-subtle: "#9B9B9B"
  overlay: "#FFFFFF14"
  outline: "#FFFFFF1F"
  primary: "#FFFFFF"
  on-primary: "#000000"
typography:
  headline-display:
    fontFamily: PingFangSC-Regular
    fontSize: 28px
    fontWeight: 600
    lineHeight: 1
  headline-lg:
    fontFamily: PingFangSC-Regular
    fontSize: 22px
    fontWeight: 600
    lineHeight: 1.15
  body-md:
    fontFamily: PingFangSC-Regular
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1
  body-sm:
    fontFamily: PingFang SC
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1
  caption:
    fontFamily: PingFangSC-Regular
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1
  label-md:
    fontFamily: PingFangSC-Regular
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.38
  label-sm:
    fontFamily: PingFang SC
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1
  headline-display-mobile:
    fontFamily: PingFangSC-Regular
    fontSize: 24px
    fontWeight: 600
    lineHeight: 1
rounded:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 20px
  xl: 100px
spacing:
  xs: 4px
  sm: 6px
  md: 12px
  lg: 19.9px
  xl: 40px
  gutter: 8px
components:
  input-field:
    backgroundColor: "{colors.overlay}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.lg}"
    padding: 0px 44px 0px 16px
---

# Sunnafh Design System

## Overview

Sunnafh describes itself as: “新视讯影视是一个免费为广大追剧迷提供在线播放的影视站，涵盖大量免费的VIP电视剧资源、最新上映大片、好看的综艺节目及动漫视频，是一个播放速度快，资源多的免费影视网站” The interface is dark, built on **Charcoal (#1F1F1F)** with **White (#FFFFFF)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **PingFangSC-Regular** and **PingFang SC**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 100px.

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

## Colors

The palette has 9 roles.

- **Charcoal (#1F1F1F):** Page background, seen 2 times. Token `background`.
- **White (#FFFFFF):** Primary text and headings, seen 39 times. Token `on-surface`.
- **Silver (#D2D2D2):** Secondary text, seen 10 times. Token `on-surface-variant`.
- **Gray (#A5A5A5):** Muted text and metadata, seen 13 times. Token `on-surface-muted`.
- **Gray (#9B9B9B):** Subtle text and placeholders, seen 12 times. Token `on-surface-subtle`.
- **White 8% (#FFFFFF14):** Translucent fill for cards and controls, seen 1 time. Token `overlay`.
- **White 12% (#FFFFFF1F):** Borders and dividers, seen 5 times. Token `outline`.
- **White (#FFFFFF):** Primary actions (the main text color; the palette is monochrome), seen 58 times. Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.

## Typography

**PingFangSC-Regular** and **PingFang SC** share the interface. Fallback stack: `PingFangSC-Regular, Microsoft YaHei, MicrosoftYaHei, Simsun`. Other loaded fonts: __myFont_7bf612, __myFont_70c28e, SanFranciscoBold, iconfont.

- **headline-display:** PingFangSC-Regular 28px at weight 600, line height 1 (24px on mobile). Page title (h1).
- **headline-lg:** PingFangSC-Regular 22px at weight 600, line height 1.15. Section headings (h2).
- **body-md:** PingFangSC-Regular 16px at weight 400, line height 1. Body text.
- **body-sm:** PingFang SC 14px at weight 400, line height 1. Secondary and small text.
- **caption:** PingFangSC-Regular 12px at weight 400, line height 1. Captions and fine print.
- **label-md:** PingFangSC-Regular 16px at weight 500, line height 1.38. Buttons, navigation and labels.
- **label-sm:** PingFang SC 14px at weight 600, line height 1. Small labels and badges.

## Layout

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

- **Scale:** xs 4px, sm 6px, md 12px, lg 19.9px, xl 40px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 480px, 768px, 890px, 1024px, 1025px, 1100px, 1200px, 1399px, 1400px, 1500px, 1749px, 1829px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0.3) 0px 2px 16px 0px`

## Shapes

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

- **xl (100px):** 36 elements.
- **sm (8px):** 16 elements.
- **lg (20px):** 16 elements.
- **xs (4px):** 4 elements.
- **md (12px):** 4 elements.

## Components

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

- **input-field (“生化危机：爆发夜”):** #FFFFFF14 fill, #FFFFFF text, 14px/400, 20px radius, padding 0px 44px 0px 16px.

## Do's and Don'ts

- Do use #1F1F1F for the page.
- Do keep text in 4 levels: #FFFFFF, #D2D2D2, #A5A5A5, #9B9B9B.
- Do let contrast carry emphasis; primary actions use #FFFFFF on #1F1F1F.
- Do reuse the measured spacing steps (6px, 12px, 19.9px).
- Do use 100px corners on most elements; larger surfaces also use 8px, 20px and 4px.
- Don't introduce new font families beyond PingFangSC-Regular and PingFang SC.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.16s, 0.25s, 0.08s, 0.2s. Longer ambient animations run 1s.

- **Easing:** `ease`, `cubic-bezier(0.32, 0.72, 0, 1)`, `ease-in-out`.

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

```
