aibos-design-system 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,333 +1,335 @@
1
- # Neo-Analog Design System v2.0
2
-
3
- **Version**: 2.0
4
- **Last Updated**: 2025-01-27
5
- **Status**: ✅ **Production-Ready | Beast Mode Enabled**
6
-
7
- ---
8
-
9
- ## Overview
10
-
11
- The Neo-Analog Design System is an enterprise-grade, production-ready design system that achieves **100% Figma compliance** and delivers **desktop-app performance** with pure CSS/HTML—zero JavaScript framework overhead.
12
-
13
- ### Key Features
14
-
15
- - ✅ **254 Design Tokens** - Comprehensive token system (colors, typography, spacing, shadows, motion)
16
- - ✅ **171 Semantic Classes** - Reusable `.na-*` component classes
17
- - ✅ **Beast Mode Patterns** - Advanced patterns (Radio State Machine, Bi-directional Grid, Omni Shell)
18
- - ✅ **100% Figma Compliant** - Full alignment with Figma design system standards
19
- - ✅ **Zero Framework Overhead** - Pure CSS/HTML implementation
20
- - ✅ **Drift Prevention** - Automated semantic validation
21
- - ✅ **Headless Architecture** - Platform-agnostic design API
22
-
23
- ---
24
-
25
- ## Quick Start
26
-
27
- ### For External Users (npm Package)
28
-
29
- ```bash
30
- # Install
31
- npm install @aibos/design-system
32
-
33
- # Import CSS
34
- import '@aibos/design-system/css';
35
-
36
- # Use classes
37
- <div className="na-card na-p-6">Content</div>
38
- ```
39
-
40
- 📖 **See [EXTERNAL_USAGE.md](./EXTERNAL_USAGE.md) for complete external usage guide**
41
- 📋 **See [API_REFERENCE.md](./API_REFERENCE.md) for typography, spacing, and component reference**
42
-
43
- ### 📋 Quick Reference for npm Users
44
-
45
- **Typography Hierarchy:**
46
- - `.na-h1` = 32px bold (Page titles)
47
- - `.na-h2` = 24px semibold (Section titles)
48
- - `.na-h3` = 20px semibold (Subsections)
49
- - `.na-h4` = 18px semibold (Card titles)
50
- - `.na-data` = 14px monospace (Data values)
51
- - `.na-data-large` = 30px serif (KPI values)
52
- - `.na-metadata` = 11px uppercase (Labels)
53
-
54
- **Spacing:**
55
- - Use standard Tailwind classes: `p-4` (16px), `p-6` (24px), `p-8` (32px)
56
- - Standard padding: `p-6` (24px)
57
- - Standard gap: `gap-6` (24px)
58
-
59
- **Components:**
60
- - Cards: `.na-card p-6`
61
- - Buttons: `.na-btn na-btn-primary`
62
- - Status: `.na-status na-status-ok`
63
-
64
- 👉 **Full details in [API_REFERENCE.md](./API_REFERENCE.md)**
65
-
66
- ### For Developers (Local Development)
67
-
68
- ```bash
69
- cd design_system
70
- pnpm install
71
- ```
72
-
73
- ### Build
74
-
75
- ```bash
76
- pnpm build # Compile CSS from input.css
77
- pnpm watch # Watch mode for development
78
- pnpm dev # Development mode (watch)
79
- ```
80
-
81
- ### Quality Control
82
-
83
- ```bash
84
- pnpm quality # Run all quality checks
85
- pnpm validate # Design token validation
86
- pnpm lint # CSS/JS linting
87
- pnpm enforce:semantics # Drift detection
88
- pnpm validate:all # Combined validation
89
- ```
90
-
91
- ---
92
-
93
- ## Documentation
94
-
95
- ### For npm Package Users
96
-
97
- 1. **[API Reference](./API_REFERENCE.md)** **QUICK REFERENCE**
98
- - Typography hierarchy (sizes, weights, usage)
99
- - Spacing & padding scale
100
- - Component classes
101
- - Color tokens
102
- - Complete API reference
103
-
104
- 2. **[External Usage Guide](./EXTERNAL_USAGE.md)** ⭐ **GETTING STARTED**
105
- - Installation instructions
106
- - Framework examples (React, Vue, Svelte)
107
- - Common patterns
108
- - Troubleshooting
109
-
110
- ### Essential Guides
111
-
112
- 3. **[Design System Guide](./docs/DESIGN_SYSTEM.md)** ⭐ **COMPLETE REFERENCE**
113
- - Complete design system reference
114
- - All tokens, components, and patterns
115
- - Usage guidelines and examples
116
-
117
- 2. **[Advanced Patterns](./docs/ADVANCED_PATTERNS.md)** 🚀 **BEAST MODE**
118
- - Radio Button State Machine (0ms latency view switching)
119
- - Bi-directional Sticky Grid (Frozen panes)
120
- - Omni Shell Layout (Grid-based application shell)
121
- - Status Select Component
122
-
123
- 3. **[Quick Start Guide](./docs/QUICK_START_GUIDE.md)**
124
- - Single repository setup
125
- - Monorepo integration
126
- - Framework integration examples
127
-
128
- 4. **[Color System Reference](./docs/COLOR_SYSTEM_REFERENCE.md)**
129
- - Complete color token reference
130
- - Semantic color mappings
131
- - Usage examples
132
-
133
- 5. **[Headless Architecture](./docs/HEADLESS_ARCHITECTURE_STRATEGY.md)**
134
- - Platform-agnostic design API
135
- - Headless map extraction
136
- - Cross-platform usage
137
-
138
- ### AI Agent Protocol
139
-
140
- **[AI Design Protocol](./AI_DESIGN_PROTOCOL.md)** - Strict instructions for AI agents to enforce semantic class usage and prevent drift.
141
-
142
- ---
143
-
144
- ## Prototypes
145
-
146
- ### System Launcher
147
-
148
- **Start here**: Open [`prototypes/index.html`](./prototypes/index.html) to access the **System Launcher**—a high-impact landing page presenting all prototypes as a cohesive product suite.
149
-
150
- ### The Neo-Analog Trilogy (Beast Mode)
151
-
152
- 1. **[The Console](./prototypes/prototype-dashboard-nextgen.html)** 📊
153
- - Executive Command Center
154
- - Breathing data visualizations
155
- - Cinematic lighting effects
156
-
157
- 2. **[OMNI ERP OS](./prototypes/omni-erp-integrated.html)** **GOLD STANDARD**
158
- - High-Frequency ERP Operating System
159
- - Bi-directional sticky grids
160
- - CSS state machines (0ms latency)
161
-
162
- 3. **[Project AEGIS](./prototypes/prototype-aegis-threat-map.html)** 🛡️
163
- - Cybersecurity Threat Map
164
- - Pure CSS data visualization
165
- - CSS Grid world maps, motion paths, hex-grid topology
166
-
167
- ### Standard Modules
168
-
169
- - **[UI Kit Reference](./prototypes/prototype-ui-kit.html)** - Complete component showcase
170
- - **[ERP God Mode](./prototypes/prototype-erp-god-mode.html)** - Enterprise ERP dashboard
171
- - **[Data Lineage](./prototypes/prototype-data-lineage.html)** - Data catalog and lineage
172
- - **[IDE Dashboard](./prototypes/prototype-ide-dashboard.html)** - IDE-style dashboard
173
- - **[Supabase ERP](./prototypes/prototype-supabase-erp.html)** - Supabase integration
174
-
175
- See [`prototypes/README.md`](./prototypes/README.md) for complete prototype documentation.
176
-
177
- ---
178
-
179
- ## File Structure
180
-
181
- ```
182
- design_system/
183
- ├── README.md # This file
184
- ├── AI_DESIGN_PROTOCOL.md # AI agent protocol
185
- ├── input.css # Source file (all design tokens)
186
- ├── style.css # Compiled output
187
- ├── package.json # Dependencies and scripts
188
- ├── tailwind.config.js # Tailwind configuration
189
- ├── postcss.config.js # PostCSS configuration
190
- ├── .stylelintrc.json # CSS linting rules
191
- ├── eslint.config.js # JavaScript linting
192
- ├── docs/ # Documentation
193
- ├── DESIGN_SYSTEM.md # Main documentation
194
- ├── ADVANCED_PATTERNS.md # 🚀 Beast Mode patterns
195
- │ ├── QUICK_START_GUIDE.md # Getting started
196
- │ ├── COLOR_SYSTEM_REFERENCE.md # Color reference
197
- │ ├── HEADLESS_ARCHITECTURE_STRATEGY.md # Headless API
198
- └── archive/ # Archived documentation
199
- ├── prototypes/ # Production prototypes
200
- ├── index.html # 🚀 System Launcher
201
- ├── omni-erp-integrated.html # Gold Standard
202
- │ ├── prototype-*.html # Official prototypes
203
- │ ├── README.md # Prototype documentation
204
- └── archive/ # Archived prototypes
205
- ├── scripts/ # Build and validation scripts
206
- ├── enforce-semantics.cjs # Drift detection
207
- ├── extract-headless-map.cjs # Headless map extraction
208
- │ ├── extract-tokens.js # Token extraction
209
- └── validate-design-tokens.js # Token validation
210
- └── dist/ # Generated files
211
- ├── tokens.json # Extracted tokens
212
- ├── headless-map.json # Headless design map
213
- └── tokens/ # TypeScript definitions
214
- ```
215
-
216
- ---
217
-
218
- ## Usage Examples
219
-
220
- ### Typography
221
-
222
- ```html
223
- <h1 class="na-h1">Page Title</h1>
224
- <h2 class="na-h2">Section Title</h2>
225
- <div class="na-data">$12,450.00</div>
226
- <div class="na-metadata">PO-88219 • Feed Supply</div>
227
- ```
228
-
229
- ### Components
230
-
231
- ```html
232
- <div class="na-card">
233
- <h3 class="na-h4">Card Title</h3>
234
- <div class="na-data">Data value</div>
235
- </div>
236
- ```
237
-
238
- ### Beast Mode Patterns
239
-
240
- ```html
241
- <!-- Radio Button State Machine -->
242
- <input type="radio" name="view" id="v-grid" class="na-state-radio" checked>
243
- <label for="v-grid" class="na-state-label">Grid</label>
244
-
245
- <!-- Bi-directional Sticky Grid -->
246
- <div class="na-grid-frozen">
247
- <table class="na-table-frozen">...</table>
248
- </div>
249
-
250
- <!-- Omni Shell Layout -->
251
- <div class="na-shell-omni">
252
- <header class="na-shell-head">...</header>
253
- <aside class="na-shell-rail">...</aside>
254
- <main class="na-shell-main">...</main>
255
- </div>
256
- ```
257
-
258
- ---
259
-
260
- ## Scripts Reference
261
-
262
- | Command | Description |
263
- |---------|-------------|
264
- | `pnpm build` | Compile CSS from input.css |
265
- | `pnpm watch` | Watch mode for development |
266
- | `pnpm dev` | Development mode (watch) |
267
- | `pnpm extract:tokens` | Extract design tokens to JSON |
268
- | `pnpm extract:headless` | Generate headless design map |
269
- | `pnpm enforce:semantics` | Run drift detection |
270
- | `pnpm validate` | Validate design tokens |
271
- | `pnpm validate:all` | Run all validations |
272
- | `pnpm quality` | Run complete quality check |
273
- | `pnpm lint` | Run linting |
274
- | `pnpm lint:fix` | Fix linting issues |
275
-
276
- ---
277
-
278
- ## Design Tokens
279
-
280
- ### Available Exports
281
-
282
- ```typescript
283
- // CSS
284
- import '@aibos/design-system/css'
285
-
286
- // Tokens (JSON)
287
- import tokens from '@aibos/design-system/tokens'
288
-
289
- // Tokens (TypeScript)
290
- import type { DesignTokens } from '@aibos/design-system/tokens/typescript'
291
- ```
292
-
293
- ---
294
-
295
- ## Documentation
296
-
297
- ### For External Users
298
-
299
- - **[EXTERNAL_USAGE.md](./EXTERNAL_USAGE.md)** **START HERE** - How to install and use as npm package
300
- - **[API_REFERENCE.md](./API_REFERENCE.md)** - Complete typography, spacing, and component reference
301
- - **[NPM Publishing Guide](./docs/NPM_PUBLISHING_GUIDE.md)** - How to publish to npm via GitHub Actions
302
- - **[Publishing Guide](./docs/PUBLISHING_GUIDE.md)** - Manual publishing instructions
303
-
304
- ### For Developers
305
-
306
- - **[Design System Guide](./docs/DESIGN_SYSTEM.md)** - Complete design system reference
307
- - **[Advanced Patterns](./docs/ADVANCED_PATTERNS.md)** - Beast Mode patterns documentation
308
- - **[Quick Start Guide](./docs/QUICK_START_GUIDE.md)** - Development setup
309
-
310
- ## Support
311
-
312
- For questions or issues:
313
-
314
- 1. **External users**: Check [EXTERNAL_USAGE.md](./EXTERNAL_USAGE.md) first
315
- 2. **Developers**: Check [DESIGN_SYSTEM.md](./docs/DESIGN_SYSTEM.md) first
316
- 3. Review [ADVANCED_PATTERNS.md](./docs/ADVANCED_PATTERNS.md) for Beast Mode patterns
317
- 4. Run `pnpm quality` to check for issues
318
- 5. Review validation output
319
-
320
- ---
321
-
322
- ## Status
323
-
324
- **Version**: 2.0
325
- **Last Updated**: 2025-01-27
326
- **Status**: ✅ **Production Ready**
327
- **Beast Mode**: ✅ **Enabled**
328
- **Prototypes**: 8 production-ready modules
329
- **Documentation**: Complete and consolidated
330
-
331
- ---
332
-
333
- **Neo-Analog Design System** - Enterprise-grade UI framework with zero framework overhead.
1
+ # Neo-Analog Design System v2.0
2
+
3
+ **Version**: 2.0
4
+ **Last Updated**: 2025-01-27
5
+ **Status**: ✅ **Production-Ready | Beast Mode Enabled**
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ The Neo-Analog Design System is an enterprise-grade, production-ready design system that achieves **100% Figma compliance** and delivers **desktop-app performance** with pure CSS/HTML—zero JavaScript framework overhead.
12
+
13
+ ### Key Features
14
+
15
+ - ✅ **254 Design Tokens** - Comprehensive token system (colors, typography, spacing, shadows, motion)
16
+ - ✅ **171 Semantic Classes** - Reusable `.na-*` component classes
17
+ - ✅ **Beast Mode Patterns** - Advanced patterns (Radio State Machine, Bi-directional Grid, Omni Shell)
18
+ - ✅ **100% Figma Compliant** - Full alignment with Figma design system standards
19
+ - ✅ **Zero Framework Overhead** - Pure CSS/HTML implementation
20
+ - ✅ **Drift Prevention** - Automated semantic validation
21
+ - ✅ **Headless Architecture** - Platform-agnostic design API
22
+
23
+ ---
24
+
25
+ ## Quick Start
26
+
27
+ ### For External Users (npm Package)
28
+
29
+ ```bash
30
+ # Install
31
+ npm install aibos-design-system
32
+
33
+ # Import CSS
34
+ import 'aibos-design-system/css';
35
+ # or
36
+ import 'aibos-design-system';
37
+
38
+ # Use classes
39
+ <div className="na-card na-p-6">Content</div>
40
+ ```
41
+
42
+ 📖 **See [EXTERNAL_USAGE.md](./EXTERNAL_USAGE.md) for complete external usage guide**
43
+ 📋 **See [API_REFERENCE.md](./API_REFERENCE.md) for typography, spacing, and component reference**
44
+
45
+ ### 📋 Quick Reference for npm Users
46
+
47
+ **Typography Hierarchy:**
48
+ - `.na-h1` = 32px bold (Page titles)
49
+ - `.na-h2` = 24px semibold (Section titles)
50
+ - `.na-h3` = 20px semibold (Subsections)
51
+ - `.na-h4` = 18px semibold (Card titles)
52
+ - `.na-data` = 14px monospace (Data values)
53
+ - `.na-data-large` = 30px serif (KPI values)
54
+ - `.na-metadata` = 11px uppercase (Labels)
55
+
56
+ **Spacing:**
57
+ - Use standard Tailwind classes: `p-4` (16px), `p-6` (24px), `p-8` (32px)
58
+ - Standard padding: `p-6` (24px)
59
+ - Standard gap: `gap-6` (24px)
60
+
61
+ **Components:**
62
+ - Cards: `.na-card p-6`
63
+ - Buttons: `.na-btn na-btn-primary`
64
+ - Status: `.na-status na-status-ok`
65
+
66
+ 👉 **Full details in [API_REFERENCE.md](./API_REFERENCE.md)**
67
+
68
+ ### For Developers (Local Development)
69
+
70
+ ```bash
71
+ cd design_system
72
+ pnpm install
73
+ ```
74
+
75
+ ### Build
76
+
77
+ ```bash
78
+ pnpm build # Compile CSS from input.css
79
+ pnpm watch # Watch mode for development
80
+ pnpm dev # Development mode (watch)
81
+ ```
82
+
83
+ ### Quality Control
84
+
85
+ ```bash
86
+ pnpm quality # Run all quality checks
87
+ pnpm validate # Design token validation
88
+ pnpm lint # CSS/JS linting
89
+ pnpm enforce:semantics # Drift detection
90
+ pnpm validate:all # Combined validation
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Documentation
96
+
97
+ ### For npm Package Users
98
+
99
+ 1. **[API Reference](./API_REFERENCE.md)** **QUICK REFERENCE**
100
+ - Typography hierarchy (sizes, weights, usage)
101
+ - Spacing & padding scale
102
+ - Component classes
103
+ - Color tokens
104
+ - Complete API reference
105
+
106
+ 2. **[External Usage Guide](./EXTERNAL_USAGE.md)** **GETTING STARTED**
107
+ - Installation instructions
108
+ - Framework examples (React, Vue, Svelte)
109
+ - Common patterns
110
+ - Troubleshooting
111
+
112
+ ### Essential Guides
113
+
114
+ 3. **[Design System Guide](./docs/DESIGN_SYSTEM.md)** **COMPLETE REFERENCE**
115
+ - Complete design system reference
116
+ - All tokens, components, and patterns
117
+ - Usage guidelines and examples
118
+
119
+ 2. **[Advanced Patterns](./docs/ADVANCED_PATTERNS.md)** 🚀 **BEAST MODE**
120
+ - Radio Button State Machine (0ms latency view switching)
121
+ - Bi-directional Sticky Grid (Frozen panes)
122
+ - Omni Shell Layout (Grid-based application shell)
123
+ - Status Select Component
124
+
125
+ 3. **[Quick Start Guide](./docs/QUICK_START_GUIDE.md)**
126
+ - Single repository setup
127
+ - Monorepo integration
128
+ - Framework integration examples
129
+
130
+ 4. **[Color System Reference](./docs/COLOR_SYSTEM_REFERENCE.md)**
131
+ - Complete color token reference
132
+ - Semantic color mappings
133
+ - Usage examples
134
+
135
+ 5. **[Headless Architecture](./docs/HEADLESS_ARCHITECTURE_STRATEGY.md)**
136
+ - Platform-agnostic design API
137
+ - Headless map extraction
138
+ - Cross-platform usage
139
+
140
+ ### AI Agent Protocol
141
+
142
+ **[AI Design Protocol](./AI_DESIGN_PROTOCOL.md)** - Strict instructions for AI agents to enforce semantic class usage and prevent drift.
143
+
144
+ ---
145
+
146
+ ## Prototypes
147
+
148
+ ### System Launcher
149
+
150
+ **Start here**: Open [`prototypes/index.html`](./prototypes/index.html) to access the **System Launcher**—a high-impact landing page presenting all prototypes as a cohesive product suite.
151
+
152
+ ### The Neo-Analog Trilogy (Beast Mode)
153
+
154
+ 1. **[The Console](./prototypes/prototype-dashboard-nextgen.html)** 📊
155
+ - Executive Command Center
156
+ - Breathing data visualizations
157
+ - Cinematic lighting effects
158
+
159
+ 2. **[OMNI ERP OS](./prototypes/omni-erp-integrated.html)** **GOLD STANDARD**
160
+ - High-Frequency ERP Operating System
161
+ - Bi-directional sticky grids
162
+ - CSS state machines (0ms latency)
163
+
164
+ 3. **[Project AEGIS](./prototypes/prototype-aegis-threat-map.html)** 🛡️
165
+ - Cybersecurity Threat Map
166
+ - Pure CSS data visualization
167
+ - CSS Grid world maps, motion paths, hex-grid topology
168
+
169
+ ### Standard Modules
170
+
171
+ - **[UI Kit Reference](./prototypes/prototype-ui-kit.html)** - Complete component showcase
172
+ - **[ERP God Mode](./prototypes/prototype-erp-god-mode.html)** - Enterprise ERP dashboard
173
+ - **[Data Lineage](./prototypes/prototype-data-lineage.html)** - Data catalog and lineage
174
+ - **[IDE Dashboard](./prototypes/prototype-ide-dashboard.html)** - IDE-style dashboard
175
+ - **[Supabase ERP](./prototypes/prototype-supabase-erp.html)** - Supabase integration
176
+
177
+ See [`prototypes/README.md`](./prototypes/README.md) for complete prototype documentation.
178
+
179
+ ---
180
+
181
+ ## File Structure
182
+
183
+ ```
184
+ design_system/
185
+ ├── README.md # This file
186
+ ├── AI_DESIGN_PROTOCOL.md # AI agent protocol
187
+ ├── input.css # Source file (all design tokens)
188
+ ├── style.css # Compiled output
189
+ ├── package.json # Dependencies and scripts
190
+ ├── tailwind.config.js # Tailwind configuration
191
+ ├── postcss.config.js # PostCSS configuration
192
+ ├── .stylelintrc.json # CSS linting rules
193
+ ├── eslint.config.js # JavaScript linting
194
+ ├── docs/ # Documentation
195
+ │ ├── DESIGN_SYSTEM.md # Main documentation
196
+ │ ├── ADVANCED_PATTERNS.md # 🚀 Beast Mode patterns
197
+ │ ├── QUICK_START_GUIDE.md # Getting started
198
+ ├── COLOR_SYSTEM_REFERENCE.md # Color reference
199
+ ├── HEADLESS_ARCHITECTURE_STRATEGY.md # Headless API
200
+ └── archive/ # Archived documentation
201
+ ├── prototypes/ # Production prototypes
202
+ │ ├── index.html # 🚀 System Launcher
203
+ │ ├── omni-erp-integrated.html # Gold Standard
204
+ ├── prototype-*.html # Official prototypes
205
+ ├── README.md # Prototype documentation
206
+ └── archive/ # Archived prototypes
207
+ ├── scripts/ # Build and validation scripts
208
+ │ ├── enforce-semantics.cjs # Drift detection
209
+ ├── extract-headless-map.cjs # Headless map extraction
210
+ │ ├── extract-tokens.js # Token extraction
211
+ │ └── validate-design-tokens.js # Token validation
212
+ └── dist/ # Generated files
213
+ ├── tokens.json # Extracted tokens
214
+ ├── headless-map.json # Headless design map
215
+ └── tokens/ # TypeScript definitions
216
+ ```
217
+
218
+ ---
219
+
220
+ ## Usage Examples
221
+
222
+ ### Typography
223
+
224
+ ```html
225
+ <h1 class="na-h1">Page Title</h1>
226
+ <h2 class="na-h2">Section Title</h2>
227
+ <div class="na-data">$12,450.00</div>
228
+ <div class="na-metadata">PO-88219 • Feed Supply</div>
229
+ ```
230
+
231
+ ### Components
232
+
233
+ ```html
234
+ <div class="na-card">
235
+ <h3 class="na-h4">Card Title</h3>
236
+ <div class="na-data">Data value</div>
237
+ </div>
238
+ ```
239
+
240
+ ### Beast Mode Patterns
241
+
242
+ ```html
243
+ <!-- Radio Button State Machine -->
244
+ <input type="radio" name="view" id="v-grid" class="na-state-radio" checked>
245
+ <label for="v-grid" class="na-state-label">Grid</label>
246
+
247
+ <!-- Bi-directional Sticky Grid -->
248
+ <div class="na-grid-frozen">
249
+ <table class="na-table-frozen">...</table>
250
+ </div>
251
+
252
+ <!-- Omni Shell Layout -->
253
+ <div class="na-shell-omni">
254
+ <header class="na-shell-head">...</header>
255
+ <aside class="na-shell-rail">...</aside>
256
+ <main class="na-shell-main">...</main>
257
+ </div>
258
+ ```
259
+
260
+ ---
261
+
262
+ ## Scripts Reference
263
+
264
+ | Command | Description |
265
+ |---------|-------------|
266
+ | `pnpm build` | Compile CSS from input.css |
267
+ | `pnpm watch` | Watch mode for development |
268
+ | `pnpm dev` | Development mode (watch) |
269
+ | `pnpm extract:tokens` | Extract design tokens to JSON |
270
+ | `pnpm extract:headless` | Generate headless design map |
271
+ | `pnpm enforce:semantics` | Run drift detection |
272
+ | `pnpm validate` | Validate design tokens |
273
+ | `pnpm validate:all` | Run all validations |
274
+ | `pnpm quality` | Run complete quality check |
275
+ | `pnpm lint` | Run linting |
276
+ | `pnpm lint:fix` | Fix linting issues |
277
+
278
+ ---
279
+
280
+ ## Design Tokens
281
+
282
+ ### Available Exports
283
+
284
+ ```typescript
285
+ // CSS
286
+ import '@aibos/design-system/css'
287
+
288
+ // Tokens (JSON)
289
+ import tokens from '@aibos/design-system/tokens'
290
+
291
+ // Tokens (TypeScript)
292
+ import type { DesignTokens } from '@aibos/design-system/tokens/typescript'
293
+ ```
294
+
295
+ ---
296
+
297
+ ## Documentation
298
+
299
+ ### For External Users
300
+
301
+ - **[EXTERNAL_USAGE.md](./EXTERNAL_USAGE.md)** ⭐ **START HERE** - How to install and use as npm package
302
+ - **[API_REFERENCE.md](./API_REFERENCE.md)** - Complete typography, spacing, and component reference
303
+ - **[NPM Publishing Guide](./docs/NPM_PUBLISHING_GUIDE.md)** - How to publish to npm via GitHub Actions
304
+ - **[Publishing Guide](./docs/PUBLISHING_GUIDE.md)** - Manual publishing instructions
305
+
306
+ ### For Developers
307
+
308
+ - **[Design System Guide](./docs/DESIGN_SYSTEM.md)** - Complete design system reference
309
+ - **[Advanced Patterns](./docs/ADVANCED_PATTERNS.md)** - Beast Mode patterns documentation
310
+ - **[Quick Start Guide](./docs/QUICK_START_GUIDE.md)** - Development setup
311
+
312
+ ## Support
313
+
314
+ For questions or issues:
315
+
316
+ 1. **External users**: Check [EXTERNAL_USAGE.md](./EXTERNAL_USAGE.md) first
317
+ 2. **Developers**: Check [DESIGN_SYSTEM.md](./docs/DESIGN_SYSTEM.md) first
318
+ 3. Review [ADVANCED_PATTERNS.md](./docs/ADVANCED_PATTERNS.md) for Beast Mode patterns
319
+ 4. Run `pnpm quality` to check for issues
320
+ 5. Review validation output
321
+
322
+ ---
323
+
324
+ ## Status
325
+
326
+ **Version**: 2.0
327
+ **Last Updated**: 2025-01-27
328
+ **Status**: **Production Ready**
329
+ **Beast Mode**: **Enabled**
330
+ **Prototypes**: 8 production-ready modules
331
+ **Documentation**: Complete and consolidated
332
+
333
+ ---
334
+
335
+ **Neo-Analog Design System** - Enterprise-grade UI framework with zero framework overhead.