jordancoin/ios-design-stack/ios-design-tokens

Claude Code and agent skill by jordancoin/ios-design-stack

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

iOS design system tokens for Pencil MCP: SF Pro typography scale, iOS semantic colors (light + dark mode hex values), spacing grid, touch targets, corner radii, and component heights. Use when initializing a .pen file for iOS design or setting up design variables.

Install

npx vskill@latest install jordancoin/ios-design-stack/ios-design-tokens

SKILL.md

iOS Design Tokens

Design tokens for iOS apps following Apple HIG. Use these with Pencil MCP's set_variables tool to initialize a .pen file for iOS design.

Typography — SF Pro

SF Pro Text at 19pt and below. SF Pro Display at 20pt and above.

StyleWeightSizeLeadingSwiftUI
Large TitleRegular34pt41pt.largeTitle
Title 1Light28pt34pt.title
Title 2Regular22pt28pt.title2
Title 3Regular20pt24pt.title3
HeadlineSemi-Bold17pt22pt.headline
BodyRegular17pt22pt.body
CalloutRegular16pt21pt.callout
SubheadRegular15pt20pt.subheadline
FootnoteRegular13pt18pt.footnote
Caption 1Regular12pt16pt.caption
Caption 2Regular11pt13pt.caption2

Colors — iOS Semantic (Light / Dark)

Labels
TokenLightDarkSwiftUI
label#000000#FFFFFFColor(.label)
secondaryLabel#3C3C43/60%#EBEBF5/60%Color(.secondaryLabel)
tertiaryLabel#3C3C43/30%#EBEBF5/30%Color(.tertiaryLabel)
placeholderText#3C3C43/30%#EBEBF5/30%Color(.placeholderText)
Backgrounds (Grouped — most common for iOS)
TokenLightDarkSwiftUI
groupedBackground#F2F2F7#000000Color(.systemGroupedBackground)
secondaryGroupedBg#FFFFFF#1C1C1EColor(.secondarySystemGroupedBackground)
tertiaryGroupedBg#F2F2F7#2C2C2EColor(.tertiarySystemGroupedBackground)
Backgrounds (Flat)
TokenLightDarkSwiftUI
systemBackground#FFFFFF#000000Color(.systemBackground)
secondaryBg#F2F2F7#1C1C1EColor(.secondarySystemBackground)
System Tints
TokenLightDarkSwiftUI
blue#007AFF#0A84FF.blue
green#34C759#30D158.green
red#FF3B30#FF453A.red
orange#FF9500#FF9F0A.orange
yellow#FFCC00#FFD60A.yellow
purple#AF52DE#BF5AF2.purple
pink#FF2D55#FF375F.pink
indigo#5856D6#5E5CE6.indigo
teal#5AC8FA#64D2FF.teal
Fills and Separators
TokenLightDark
systemFill#787880/20%#787880/36%
separator#3C3C43/29%#545458/60%
opaqueSeparator#C6C6C8#38383A
Grays
TokenLightDark
systemGray#8E8E93#8E8E93
systemGray2#AEAEB2#636366
systemGray3#C7C7CC#48484A
systemGray4#D1D1D6#3A3A3C
systemGray5#E5E5EA#2C2C2E
systemGray6#F2F2F7#1C1C1E

Spacing — 8pt Grid

TokenValueUse
spacing-22ptHairline, icon internal
spacing-44ptMicro, tight elements
spacing-88ptSmall, compact spacing
spacing-1212ptBetween related items
spacing-1616ptStandard padding, compact margins
spacing-2020ptDefault layout margins (iPhone)
spacing-2424ptSection internal padding
spacing-3232ptSection spacing
spacing-4848ptMajor section breaks

Touch Targets

  • Minimum: 44 x 44pt (Apple HIG requirement — never smaller)
  • Recommended: 48 x 48pt
  • Tab bar icon touch area: 44pt minimum

Corner Radii

TokenValueUse
radius-sm8ptSmall cards, chips
radius-md12ptCards, input fields
radius-lg16ptLarge cards, modals
radius-xl20ptWidgets, full-width cards
Use .continuous—Always use continuous (squircle) corners, not circular

Component Heights

ComponentHeight
Navigation Bar44pt (standard), 96pt (large title)
Tab Bar49pt
Search Bar36pt field
Primary Button50pt
Toolbar44pt
Status Bar54pt (Dynamic Island), 44pt (notch)

Safe Areas

EdgeValue
Top59pt (Dynamic Island) / 44pt (notch)
Bottom34pt (home indicator)

Pencil MCP: Initialize iOS Design File

When creating a new .pen file for iOS design, run set_variables with these tokens:

Font Family: SF Pro
Font sizes: 11, 12, 13, 15, 16, 17, 20, 22, 28, 34
Spacing: 4, 8, 12, 16, 20, 24, 32, 48
Primary: #007AFF (light) / #0A84FF (dark)
Background: #FFFFFF (light) / #000000 (dark)
Surface: #F2F2F7 (light) / #1C1C1E (dark)
Label: #000000 (light) / #FFFFFF (dark)
Secondary Label: #3C3C43/60% (light) / #EBEBF5/60% (dark)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jordancoin/ios-design-stack/ios-design-tokens/badge)](https://verified-skill.com/skills/jordancoin/ios-design-stack/ios-design-tokens)

Something wrong with this skill or its page? Tell us.