跳到正文
cccskills
免费在 GitHub 公开

ios-design-tokens

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.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md4.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

When the user wants to A/B test App Store product page elements to improve conversion rate. Also use when the user mentions "A/B test", "product page optimization", "test my screenshots", "test my icon", "conversion rate optimization", "CPP", or "custom product pages". For screenshot design, see screenshot-optimization. For metadata optimization, see metadata-optimization.

中文简介正在准备中。当前显示原文说明。

JordanCoin/ios-skills-collection62026年9月10日 更新

Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit. Use when presenting a privacy-preserving accessory picker, defining discovery descriptors for BLE or Wi-Fi devices, handling accessory session events, migrating from CoreBluetooth permission-based scanning, or setting up accessories without requiring broad Bluetooth permissions.

中文简介正在准备中。当前显示原文说明。

JordanCoin/ios-skills-collection62026年9月10日 更新

Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit. Use when building real-time updating widgets for the Lock Screen and Dynamic Island — delivery tracking, sports scores, ride-sharing status, workout timers, media playback, or any time-sensitive information that updates in real time. Also use when working with ActivityKit, ActivityAttributes, Activity lifecycle (request/update/end), Dynamic Island layouts (compact/minimal/expanded), push-to-update Live Activities, or Lock Screen live widgets.

中文简介正在准备中。当前显示原文说明。

JordanCoin/ios-skills-collection62026年9月10日 更新

Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit. Use when registering ad impressions, handling attribution postbacks, updating conversion values, implementing re-engagement attribution, configuring publisher or advertiser apps, or replacing SKAdNetwork with AdAttributionKit for ad measurement.

中文简介正在准备中。当前显示原文说明。

JordanCoin/ios-skills-collection62026年9月10日 更新

alarmkit

免费

Implement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, and Apple Watch system UI. Covers AlarmManager scheduling, AlarmAttributes and AlarmPresentation, AlarmButton stop and snooze actions, authorization, state observation, and Live Activity integration. Use when building wake-up alarms, countdown timers, or alarm-style alerts that need Apple's system alarm experience.

中文简介正在准备中。当前显示原文说明。

JordanCoin/ios-skills-collection62026年9月10日 更新

When the user wants to optimize their Google Play Store listing — title, short description, full description, keywords, ratings, or Play Store-specific features. Use when the user mentions "Google Play", "Android", "Play Store", "Play Console", "short description", "full description indexed", "Google Play ASO", or wants Google Play-specific keyword, creative, or ratings strategy. For iOS App Store optimization, see aso-audit and metadata-optimization.

中文简介正在准备中。当前显示原文说明。

JordanCoin/ios-skills-collection62026年9月10日 更新

查看 JordanCoin 的全部技能

报告此技能的问题