DESIGN EXAMPLES

BFSUAPA Design Examples

This page brings together the colours, type, spacing, motion values and chart components the site already uses, so you can compare against them while designing. For the rules, see the design system and the colour system.

01

Design tokens

The authoritative definitions live in src/app/globals.css. Every colour, font, spacing and motion value comes from there; do not introduce new values.

--paper

Page background

Light #ffffff

Dark #0d1117

--ink

Body / primary text

Light #111318

Dark #f5f7fa

--deep

Dark surface

Light #0d1117

Dark #080b10

--muted

Secondary text

Light #626b78

Dark #a8b1be

--line

Default divider

Light ink 19%

Dark ink 18%

--focus

Focus outline

Light #1f5aa8

Dark #87aae0

--accent-blue

Primary chart series / main accent

Light #2a5b9e

Dark #7b9fd2

--accent-gold

Third series / caution accent

Light #a57218

Dark #cea653

--accent-red

Error state / peak

Light #b84f42

Dark #d47c70

--accent-green

Success state

Light #277158

Dark #6ba88f

--torch-red

BFSUAPA Red (core brand)

Light #e14b3f

Dark #f0705f

Typography

--font-displayDisplay / interface headingsNoto Sans Variable + CJK
--font-cjkChinese body textNoto Sans SC Variable · PingFang · Microsoft YaHei
--font-worldTranslations in other languagesNoto fonts chosen per language

一百种语言,同一个世界

Heading line height 1.12–1.28, body line height 1.65–1.8. Chinese is never set in italics; panels and cards always have square corners.

Spacing

0.5rem
0.75rem
1rem
1.5rem
2.25rem
3.5rem
5.5rem

Motion

--motion-fast150msQuick feedback (hover, press)
--motion-base200msStandard transitions (colour, movement)
--motion-slow220msPanels opening, complex entrances
--motion-easecubic-bezier(0.22, 1, 0.36, 1)Shared easing curve

02

Colour system

BFSUAPA Red is the core brand colour; the seven-continent and four-ocean palettes distinguish themes. The web interface uses the --accent-* accent colours; the brand palettes are for visual content that needs a clear theme.

Each cell shows the step number, the hex value, and the contrast between the cell text (ink black or white) and that colour. Body text needs at least 4.5; large text needs at least 3. Click a swatch to copy its value.

BFSUAPA Red · identity (core brand colour)

BFSUAPA Red招协红 · Passion · youth · action

Seven continents · the colours of the world (secondary)

Asia亚洲 · Golden yellow · Eastern civilisation
Africa非洲 · Ochre · sunset over the land
North America北美洲 · Violet · diverse and modern
South America南美洲 · Rainforest green · Amazon life
Europe欧洲 · Azure · maritime civilisation
Oceania大洋洲 · Coral cyan · islands and sea
Antarctica南极洲 · Snow blue · glacial clarity

Four oceans · the blues that connect (secondary)

Pacific太平洋 · Deep blue · vast and deep
Indian印度洋 · Indigo · mysterious depth
Atlantic大西洋 · Blue-green · where currents meet
Arctic北冰洋 · Ice blue · polar clarity

Chart-safe palette · blue / gold / orange

Charts use blue, gold and orange and their lighter and darker shades first, and avoid telling series apart by red and green alone; every legend has a text label. The swatches show light-theme values.

#2a5b9eBlue · primary series
#ea580cOrange · second series
#a57218Gold · third series
#1d4ed8Dark blue · shade contrast A
#c0480aDark orange · shade contrast B
#626b78Neutral · secondary

03

Chart components

The site’s data sections and the 回声 column share these chart components. They are drawn with CSS and inline SVG only, load no external scripts, and look the same in screenshots.

183

Diplomatic partners

China has established diplomatic relations with 183 countries

101

Languages

Languages taught at BFSU

125

Undergraduate majors

Total undergraduate majors at BFSU

The charts below use made-up sample data to show how the components look. The categories, regions and values do not correspond to any real school, region or statistic.

Sample · ranking bars

Category A16items
Category B12items
Category C9items
Category D6items

Sample · share donut

  • Category A1643.2%
  • Category B1232.4%
  • Category C924.3%

Sample · rose chart

  • Region A12entries
  • Region B22entries
  • Region C18entries
  • Region D8entries
  • Region E4entries

Sample · timeline

  1. 05.01

    120 visits · Start

  2. 06.15

    460 visits · Peak

  3. 07.20

    210 visits · Decline

  4. 08.10

    90 visits · End

Sample · word cloud

LanguagesAdmissionsInternationalCultureExchangeMajorsAsiaStudy abroad

Type size shows word frequency | Sample data, no source

04

Guidelines

This page shows existing components and colours. When producing something, check the relevant guide first, then the specific content, sizes and context.