Cozytk Pages Portal Design System

1. Atmosphere & Identity

The portal feels like a compact publishing desk for lecture decks, labs, and personal GitHub Pages projects. It should be quiet, fast, and scannable: a maintainer can open it, see what is live, and jump to a page or repository without ceremony. The signature is a ledger-like project grid with restrained accent lines and precise metadata.

2. Color

Palette

Role Token Light Dark Usage
Surface/primary --surface-primary #F8F7F3 #111312 Main page background
Surface/secondary --surface-secondary #FFFFFF #181B19 Cards and grouped surfaces
Surface/elevated --surface-elevated #F1EFE8 #20241F Stat panels and subtle bands
Text/primary --text-primary #171A18 #F4F2EC Headlines and primary text
Text/secondary --text-secondary #5D655F #B7BDB5 Body copy and descriptions
Text/tertiary --text-tertiary #80887F #7F897E Metadata
Border/default --border-default #D9D7CD #333A34 Cards and section dividers
Border/subtle --border-subtle #ECE9DE #262B27 Fine separators
Accent/primary --accent-primary #0F766E #5EEAD4 Links, focus, primary actions
Accent/hover --accent-hover #115E59 #99F6E4 Hover states
Accent/wash --accent-wash rgba(15, 118, 110, 0.04) rgba(94, 234, 212, 0.08) Background grid lines
Status/success --status-success #15803D #86EFAC Live status
Status/success-border --status-success-border #9CC9A9 #2E6E45 Live badge border
Status/warning --status-warning #A16207 #FDE68A Unchecked status
Status/error --status-error #B91C1C #FCA5A5 Broken status
Status/info --status-info #1D4ED8 #93C5FD Informational badges

Rules

3. Typography

Scale

Level Size Weight Line Height Tracking Usage
Display clamp(40px, 7vw, 86px) 750 0.95 0 Hero title
H1 40px 720 1.1 0 Page sections
H2 28px 700 1.2 0 Group headings
H3 20px 700 1.35 0 Card titles
Body/lg 18px 450 1.65 0 Lead paragraphs
Body 16px 450 1.6 0 Default text
Body/sm 14px 500 1.5 0 Metadata
Caption 12px 650 1.35 0.04em Badges and labels

Font Stack

Rules

4. Spacing & Layout

Base Unit

All spacing derives from a base of 4px.

Token Value Usage
--space-1 4px Tight inline separation
--space-2 8px Badge and link spacing
--space-3 12px Compact card rhythm
--space-4 16px Standard inner spacing
--space-5 20px Card padding
--space-6 24px Group gaps
--space-8 32px Section inner gaps
--space-10 40px Major grouping
--space-12 48px Section separation
--space-16 64px Hero separation

Grid

Rules

5. Components

Project Card

Stat Strip

6. Motion & Interaction

Timing

Type Duration Easing Usage
Micro 120ms ease-out Button and link feedback
Standard 180ms ease-in-out Card hover
Emphasis 360ms cubic-bezier(0.16, 1, 0.3, 1) Initial content entrance if used

Rules

7. Depth & Surface

Strategy

Use borders-only with tonal shifts. No shadows.

Type Value Usage
Default 1px solid var(--border-default) Cards and panels
Subtle 1px solid var(--border-subtle) Dividers

Surfaces are separated by color, spacing, and border weight rather than drop shadows.