Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 940 Bytes

File metadata and controls

45 lines (35 loc) · 940 Bytes

STYLE GUIDE

Supported aspect ratios and device sizes

This project supports the following presentation targets.

Orientation + ratio targets

  • Portrait
  • Landscape
  • Square / hybrid
  • Wide desktop
  • Ultra-wide desktop

Product form-factor targets

  • Mobile PWA
  • Mobile web browser
  • Tablet
  • Half-screen desktop
  • Full-screen desktop
  • Ultra-wide desktop

Width tiers (contract)

  • XS: <= 480px
  • SM: <= 640px
  • MD: <= 900px
  • LG: <= 1200px
  • XL: >= 1600px
  • XXL: >= 1920px

Height tiers (contract)

  • Short: <= 520px
  • Compact: <= 720px
  • Tall: >= 900px
  • Ultra-tall: >= 1200px

Input/device classes

  • Touch (hover: none, pointer: coarse)
  • Precision (hover: hover, pointer: fine)

Source of truth

Viewport/aspect-ratio breakpoint variables are defined in:

  • client/public/css/base/viewports.css

Themes must preserve this contract and only provide style differentiation per band.