Initial repository scaffold: - design.md (google-labs-code/design.md format) as canonical token + guidelines source - brand assets, foundations, tokens (W3C-style JSON) - 12 component primitives, each with labeled anatomy.svg and spec README - light / dark / high-contrast themes, web/mobile/email/print/presentation templates - docs (getting started, principles, a11y, voice & tone, contributing) - runnable web example, token build script stub, CI placeholder Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Scripts
|
||||
|
||||
Build / export tooling for the design system.
|
||||
|
||||
| Script | Purpose |
|
||||
|--------|---------|
|
||||
| `build-tokens.js` | Convert `tokens/*.json` into platform outputs. |
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* KDC Design System — token build script (placeholder).
|
||||
*
|
||||
* Reads tokens/*.json and emits platform-specific outputs:
|
||||
* - dist/tokens.css (CSS custom properties)
|
||||
* - dist/tokens.scss (Sass variables)
|
||||
* - dist/tokens.ts (TypeScript constants)
|
||||
*
|
||||
* Replace this stub with a real implementation (e.g. Style Dictionary).
|
||||
*/
|
||||
console.log("[kds] build-tokens: not implemented yet");
|
||||
Reference in New Issue
Block a user