get_design_tokens
Generates official Apple HIG design tokens for macOS, iPadOS, and iOS in CSS, JSON, TypeScript, or SwiftUI, helping teams apply consistent platform-compliant colors, typography, and layout values.
Instructions
Menyediakan design tokens resmi Apple HIG untuk macOS, iPadOS, dan iOS (Liquid Glass & Classic Vibrancy, Apple System Colors & Brand Custom, SF Pro typography, safe-area insets, dan chrome geometry) dalam format CSS, JSON, TypeScript, atau SwiftUI.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_design_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format output yang diinginkan: css, json, typescript, atau swift (default: css) | |
| platform | No | Target platform Apple: macos, ipados, atau ios (default: macos) | |
| design_era | No | Bahasa desain Apple: liquid_glass (OS 26 / Tahoe) atau classic (default: liquid_glass) | |
| palette_mode | No | Palet dasar warna: apple_system atau brand_custom (default: apple_system) | |
| accent_primary | No | Warna aksen primer kustom dalam format hex (contoh: #0284c7) |