Skip to content
Primer Design System

Primer Design System

BrandAbout

Site navigation

  • Guides
    • Introduction
      • Introduction
      • Getting started
      • How to contribute
      • Getting started
      • Migration guides
      • Getting started
      • Theming
      • Theme reference
      • Linting
      • System props
      • Core concepts
      • Philosophy
      • Overriding styles
      • Server-side rendering
      • Hooks
    • Component lifecycle
    • Component status
      • Accessibility at GitHub
      • Guidelines
      • Tools
      • Alternative text for images
      • Assistive technology announcements
      • Descriptive buttons
      • Focus management
      • Headings
      • Links
      • Semantic HTML
      • Text resize and respacing
      • Tooltips
      • How to contribute
      • Design
      • Documentation
      • Handling new patterns
      • Adding new components
  • Foundations
    • Color
    • Content
      • Getting started
      • Animations
      • Borders
      • Box shadow
      • Colors
      • Details
      • Flexbox
      • Grid
      • Layout
      • Margin
      • Padding
      • Typography
      • Octicons
      • Octovisuals
      • Design guidelines
    • Layout
      • Getting started
      • Token names
      • Color
      • Size
      • Typography
    • Responsive
    • Typography
  • UI patterns
    • Data visualization
    • Degraded experiences
    • Empty states
    • Feature onboarding
    • Forms
    • Loading
    • Messaging
    • Progressive disclosure
    • Saving
  • Components
    • Action bar
    • Action list
    • Action menu
    • Anchored overlay
    • Autocomplete
    • Avatar
    • Avatar pair
    • Avatar stack
    • Blankslate
    • Border box
    • Box
    • Branch name
    • Breadcrumbs
    • Button
    • Button group
    • Checkbox
    • Checkbox group
    • Circle badge
    • Circle octicon
    • Clipboard copy
    • Close button
    • Comment box
    • Counter label
    • Data table
    • Details
    • Dialog
    • Flash
    • Form control
    • Header
    • Heading
    • Hidden text expander
    • Icon
    • Icon button
    • Image
    • Image crop
    • Label
    • Label group
    • Layout
    • Link
    • Markdown
    • Nav list
    • Octicon symbols
    • Overlay
    • Pagehead
    • Page header
    • Page layout
    • Pagination
    • Popover
    • Pointer box
    • Progress bar
    • Radio
    • Radio group
    • Relative time
    • Segmented control
    • Select
    • Select panel
    • Spinner
    • Split page layout
    • State label
    • Subnav
    • Tab container
    • Tab nav
    • Tab panels
    • Text
    • Text input
    • Text input with tokens
    • Textarea
    • Timeline
    • Toast
    • Toggle switch
    • Token
    • Tooltip
    • Tree view
    • Truncate
    • Underline nav
    • Underline panels
  • Deprecated components
    • Box overlay
    • Dropdown
    • Filter list
    • Filtered search
    • Menu
    • Select menu
    • Side nav
  • GitHub staff
    • GitHub shared components
  • Native
      • Getting started
      • Foundations
      • Components
      • Getting started
      • Foundations
      • Platforms
      • Foundations
  • GitHub

On this page

  • Base
  • Border
  • Breakpoints
  • Viewport
  • Layout

Size

An overview of all available size CSS variables
On this page
  • Base
  • Border
  • Breakpoints
  • Viewport
  • Layout

Base

View in Storybook

Border

Border size

View in Storybook

Border radius

View in Storybook

Outline

View in Storybook

Breakpoints

View in Storybook

Viewport

View in Storybook

Layout

Stack

View in Storybook

Controls

View in Storybook
View in Storybook
View in Storybook
View in Storybook
View in Storybook
View in Storybook
View in Storybook

Footer

Edit this page on GitHub
1 contributorlangermank
Last edited by langermank on February 12, 2024