Replies: 1 comment
-
🔗 Related Work: Token Schema Structure RFCA new RFC has been published that provides validation infrastructure for token authoring workflows: RFC: Token Schema Structure and Validation System (PR #644) How It RelatesThe schema validation system can be integrated into the authoring workflow:
Workflow Integration Points# In CI/CD pipeline
$ pnpm validate-tokens
✓ All 2,338 tokens validated
✗ Error: "button-height-350" - index not in allowed sizes
✗ Error: "unknown-component" - component not in enumThis validation tooling can be part of the authoring workflow gates defined in your RFC. Current State
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 Authoring Workflow and Process
Status: Draft in Progress
Author: [To be assigned]
DACI: [To be assigned]
Related: DNA-[ticket], Onsite Day 2 "Data Authoring" discussion
Executive Summary
This RFC proposes a comprehensive workflow and tooling strategy for authoring, reviewing, publishing, and managing design tokens across the foundation and platform layers of the Spectrum design data system.
Problem: Current token authoring is ad-hoc, lacks validation, has no review process, and creates coordination overhead between design and engineering.
Solution: Establish a formal authoring workflow with validation, branching, reviews, and automated publishing that supports both foundational and platform team needs.
Background & Context
Origin
Current Pain Points
From Onsite Discussions:
From Day 2 Onsite Notes:
Proposal
Authoring Workflow Overview
Authoring Tools
Web-Based Token Editor (Primary Tool)
From: Nate's prototype demonstration (Day 1 onsite)
Features:
Figma (Secondary, View-Only for Most)
Limited Role:
Rationale: Figma can't enforce schema, taxonomy, or validation rules
Branching & Review Process
Foundation Tokens
Process:
mainmainPlatform Tokens
Process:
Validation Rules
Enforced at Authoring Time:
Publishing Pipeline
Automated Build Process:
Publishing Cadence:
Notification & Communication
Automatic Notifications:
Addresses Onsite Feedback: Automated notification system for design asset updates (Day 2 follow-up task)
User Personas & Workflows
Persona 1: Foundation Designer
Goal: Create new semantic color token for dark mode
Workflow:
background-subtle-hover(validated against taxonomy)Persona 2: Platform Engineer (iOS)
Goal: Override button background for iOS tint system
Workflow:
button-background-default{accent-color-tinted}Open Questions
References
Full RFC: View complete RFC with all technical architecture details
Beta Was this translation helpful? Give feedback.
All reactions