token-usage
OfficialMaster IDS token usage in code.
Authoriress
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AI agents often struggle to use IDS design tokens consistently, leading to mis-typed values and inconsistent styling across React components and CSS.
Core Features & Use Cases
- Import patterns: CSS variables, cssVars, and designTokens metadata to access tokens in JS and CSS.
- Correct usage patterns: discourage hard-coded values, encourage token-based design for colour, spacing, typography, and radii.
- Real-world use: ensure consistent theming and design fidelity when building components, themes, and custom styles.
- Internal tooling guidance: guidance on mapping tokens to CSS variables and converting references for tooling.
Quick Start
Install the tokens package and import the CSS variables, then wrap your app with IressProvider to begin using IDS tokens.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: token-usage Download link: https://github.com/iress/design-system/archive/main.zip#token-usage Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.