Replies: 2 comments
-
|
I have a few questions about this solution Hierarchical architectureFrom my perspective, the diagram above implies the platform extensions, overrides, and product theming can only be applied to the Inheritance & Override ModelThe When common industry tiers are primitive, semantic, and component, (hierarchical tiers associated with specificity of token's applicable use cases), why are we adding This also has me curious how the "product" overrides use case would fit. Would products have a separate I wonder if a different property / term would be more appropriate for signifying extensions and overrides, for example: {
"token-name": {
"extensionType": "extension" | "override"
}
}The // iOS platform override example:
{
"button-background-default": {
// Already clearly expresses that it's overriding foundation.button-background-default
}
}
// Or does the model suggest this is possible for renaming?
{
"my-new-token-name": {
"extends": "foundation.button-background-default"
}
}General questions
|
Beta Was this translation helpful? Give feedback.
-
🔗 Related Work: Token Schema Structure RFCA new RFC has been published that provides foundational infrastructure for this multi-platform proposal: RFC: Token Schema Structure and Validation System (PR #644) How It RelatesThe structured token format provides:
This provides the foundation your multi-platform RFC can build on to define platform-specific extensions and inheritance models. Current State
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
RFC: Token Structure Changes for Multi-Platform Support
Status: Draft in Progress
Author: Garth Braithwaite
DACI: [To be assigned]
Related: DNA-[ticket], Onsite Day 2 "Multi-Platform Strategy" discussion
Executive Summary
This RFC proposes structural changes to how design tokens are organized, authored, and consumed to better support multiple platforms (web, iOS, Android, native desktop) while maintaining a coherent foundational system.
Problem: Current token structure doesn't adequately support platform-specific needs, customization, or the "system of systems" architecture defined at the onsite.
Solution: Implement a hierarchical token architecture with clear trunk (foundation) and branch (platform) layers, supporting inheritance, extension, and platform-specific overrides.
Background & Context
Origin
Your Presentation (Day 1)
Key architecture concepts presented:
Current Challenges
Proposal
Hierarchical Token Architecture
Token Layers Defined
Foundation Layer ("The Trunk")
Purpose: Shared foundation supporting all platforms
Contains:
Governance: Data System team with platform team input
Platform Layer ("The Branches")
Purpose: Platform-specific interpretations and extensions
Contains:
Governance: Platform teams own their extensions
Inheritance & Override Model
Example:
Platform Compatibility Requirements
Web Platform Requirements
iOS Platform Requirements
Android Platform Requirements
Native Desktop Requirements
Review & Feedback Needed
Platform Team Input Needed:
References
Full RFC: View complete RFC with all technical details
Beta Was this translation helpful? Give feedback.
All reactions