@amplify-ai/tokens-studio 1.0.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.
@@ -0,0 +1,177 @@
1
+ // Auto-generated by build-tokens.js — do not edit
2
+ $amp-studio-breakpoint-sm: 640px;
3
+ $amp-studio-breakpoint-md: 768px;
4
+ $amp-studio-breakpoint-lg: 1024px;
5
+ $amp-studio-breakpoint-xl: 1280px;
6
+ $amp-studio-breakpoint-2xl: 1536px;
7
+ $amp-studio-color-violet-50: #FAF5FF;
8
+ $amp-studio-color-violet-100: #F3E8FF;
9
+ $amp-studio-color-violet-200: #E9D5FF;
10
+ $amp-studio-color-violet-300: #D8B4FE;
11
+ $amp-studio-color-violet-400: #C084FC;
12
+ $amp-studio-color-violet-500: #A855F7;
13
+ $amp-studio-color-violet-600: #7C3AED;
14
+ $amp-studio-color-violet-700: #6D28D9;
15
+ $amp-studio-color-violet-800: #5B21B6;
16
+ $amp-studio-color-violet-900: #4C1D95;
17
+ $amp-studio-color-stone-50: #FAFAF9;
18
+ $amp-studio-color-stone-100: #F5F5F4;
19
+ $amp-studio-color-stone-200: #E7E5E4;
20
+ $amp-studio-color-stone-300: #D6D3D1;
21
+ $amp-studio-color-stone-400: #A8A29E;
22
+ $amp-studio-color-stone-500: #78716C;
23
+ $amp-studio-color-stone-600: #57534E;
24
+ $amp-studio-color-stone-700: #44403C;
25
+ $amp-studio-color-stone-800: #292524;
26
+ $amp-studio-color-stone-900: #1C1917;
27
+ $amp-studio-color-stone-950: #0C0A09;
28
+ $amp-studio-color-red-50: #FEF2F2;
29
+ $amp-studio-color-red-100: #FEE2E2;
30
+ $amp-studio-color-red-500: #EF4444;
31
+ $amp-studio-color-red-600: #DC2626;
32
+ $amp-studio-color-red-700: #B91C1C;
33
+ $amp-studio-color-green-50: #ECFDF5;
34
+ $amp-studio-color-green-100: #D1FAE5;
35
+ $amp-studio-color-green-500: #10B981;
36
+ $amp-studio-color-green-600: #059669;
37
+ $amp-studio-color-green-700: #047857;
38
+ $amp-studio-color-amber-50: #FFFBEB;
39
+ $amp-studio-color-amber-100: #FEF3C7;
40
+ $amp-studio-color-amber-500: #F59E0B;
41
+ $amp-studio-color-amber-600: #D97706;
42
+ $amp-studio-color-amber-700: #B45309;
43
+ $amp-studio-color-blue-50: #EFF6FF;
44
+ $amp-studio-color-blue-100: #DBEAFE;
45
+ $amp-studio-color-blue-500: #3B82F6;
46
+ $amp-studio-color-blue-600: #2563EB;
47
+ $amp-studio-color-blue-700: #1D4ED8;
48
+ $amp-studio-color-rose-500: #F43F5E;
49
+ $amp-studio-color-rose-600: #E11D48;
50
+ $amp-studio-color-white: #FFFFFF;
51
+ $amp-studio-color-black: #000000;
52
+ $amp-studio-color-transparent: transparent;
53
+ $amp-studio-motion-duration-instant: 60ms;
54
+ $amp-studio-motion-duration-fast: 150ms;
55
+ $amp-studio-motion-duration-normal: 250ms;
56
+ $amp-studio-motion-duration-slow: 400ms;
57
+ $amp-studio-motion-duration-lazy: 700ms;
58
+ $amp-studio-motion-duration-slower: 600ms;
59
+ $amp-studio-motion-stagger-1: 50ms;
60
+ $amp-studio-motion-stagger-2: 100ms;
61
+ $amp-studio-motion-stagger-3: 200ms;
62
+ $amp-studio-motion-stagger-delay: 50ms;
63
+ $amp-studio-opacity-disabled: 0.5;
64
+ $amp-studio-opacity-hover: 0.04;
65
+ $amp-studio-opacity-pressed: 0.08;
66
+ $amp-studio-opacity-overlay: 0.5;
67
+ $amp-studio-opacity-status-bg: 0.08;
68
+ $amp-studio-radius-none: 0px;
69
+ $amp-studio-radius-sm: 4px;
70
+ $amp-studio-radius-md: 8px;
71
+ $amp-studio-radius-lg: 12px;
72
+ $amp-studio-radius-xl: 16px;
73
+ $amp-studio-radius-2xl: 24px;
74
+ $amp-studio-radius-full: 9999px;
75
+ $amp-studio-shadow-0: none;
76
+ $amp-studio-shadow-1: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
77
+ $amp-studio-shadow-2: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
78
+ $amp-studio-shadow-3: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
79
+ $amp-studio-shadow-4: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
80
+ $amp-studio-shadow-5: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
81
+ $amp-studio-shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04);
82
+ $amp-studio-shadow-md: 0 2px 8px rgba(28, 25, 23, 0.06);
83
+ $amp-studio-shadow-lg: 0 8px 24px rgba(28, 25, 23, 0.08);
84
+ $amp-studio-shadow-sm-dark: 0 1px 3px rgba(0, 0, 0, 0.2);
85
+ $amp-studio-shadow-md-dark: 0 2px 8px rgba(0, 0, 0, 0.3);
86
+ $amp-studio-shadow-lg-dark: 0 8px 24px rgba(0, 0, 0, 0.4);
87
+ $amp-studio-shadow-accent-sm: 0 1px 4px 0 rgba(101, 49, 255, 0.15);
88
+ $amp-studio-shadow-accent-md: 0 4px 12px -2px rgba(101, 49, 255, 0.25);
89
+ $amp-studio-shadow-accent-lg: 0 10px 25px -4px rgba(101, 49, 255, 0.35);
90
+ $amp-studio-spacing-1: 4px;
91
+ $amp-studio-spacing-2: 8px;
92
+ $amp-studio-spacing-3: 12px;
93
+ $amp-studio-spacing-4: 16px;
94
+ $amp-studio-spacing-5: 20px;
95
+ $amp-studio-spacing-6: 24px;
96
+ $amp-studio-spacing-8: 32px;
97
+ $amp-studio-spacing-10: 40px;
98
+ $amp-studio-spacing-12: 48px;
99
+ $amp-studio-spacing-16: 64px;
100
+ $amp-studio-spacing-20: 80px;
101
+ $amp-studio-spacing-24: 96px;
102
+ $amp-studio-font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
103
+ $amp-studio-font-family-mono: 'JetBrains Mono', 'SF Mono', Monaco, Menlo, monospace;
104
+ $amp-studio-font-weight-light: 300;
105
+ $amp-studio-font-weight-regular: 400;
106
+ $amp-studio-font-weight-medium: 500;
107
+ $amp-studio-font-weight-semibold: 600;
108
+ $amp-studio-font-weight-bold: 700;
109
+ $amp-studio-font-size-display: 34px;
110
+ $amp-studio-font-size-h-lg: 24px;
111
+ $amp-studio-font-size-h-md: 18px;
112
+ $amp-studio-font-size-h-sm: 15px;
113
+ $amp-studio-font-size-body: 14px;
114
+ $amp-studio-font-size-body-sm: 12px;
115
+ $amp-studio-font-size-mono: 13px;
116
+ $amp-studio-font-lineHeight-tight: 1.2;
117
+ $amp-studio-font-lineHeight-normal: 1.5;
118
+ $amp-studio-font-lineHeight-relaxed: 1.6;
119
+ $amp-studio-z-index-base: 0;
120
+ $amp-studio-z-index-dropdown: 1000;
121
+ $amp-studio-z-index-sticky: 1020;
122
+ $amp-studio-z-index-fixed: 1030;
123
+ $amp-studio-z-index-modal-backdrop: 1040;
124
+ $amp-studio-z-index-modal: 1050;
125
+ $amp-studio-z-index-popover: 1060;
126
+ $amp-studio-z-index-tooltip: 1070;
127
+ $amp-studio-z-index-toast: 1080;
128
+ $amp-studio-semantic-accent: #7C3AED;
129
+ $amp-studio-semantic-accent-hover: #6D28D9;
130
+ $amp-studio-semantic-accent-light: #F3E8FF;
131
+ $amp-studio-semantic-accent-subtle: #FAF5FF;
132
+ $amp-studio-semantic-bg-primary: #FAFAF9;
133
+ $amp-studio-semantic-bg-surface: #FFFFFF;
134
+ $amp-studio-semantic-bg-raised: #FFFFFF;
135
+ $amp-studio-semantic-bg-sunken: #F5F5F4;
136
+ $amp-studio-semantic-bg-overlay: rgba(28, 25, 23, 0.5);
137
+ $amp-studio-semantic-text-primary: #1C1917;
138
+ $amp-studio-semantic-text-secondary: #57534E;
139
+ $amp-studio-semantic-text-muted: #78716C;
140
+ $amp-studio-semantic-text-disabled: #A8A29E;
141
+ $amp-studio-semantic-text-inverse: #FFFFFF;
142
+ $amp-studio-semantic-text-accent: #7C3AED;
143
+ $amp-studio-semantic-border-default: #E7E5E4;
144
+ $amp-studio-semantic-border-strong: #D6D3D1;
145
+ $amp-studio-semantic-border-subtle: #F5F5F4;
146
+ $amp-studio-semantic-border-accent: #E9D5FF;
147
+ $amp-studio-semantic-border-focus: #7C3AED;
148
+ $amp-studio-semantic-status-success: #059669;
149
+ $amp-studio-semantic-status-success-bg: rgba(5, 150, 105, 0.08);
150
+ $amp-studio-semantic-status-warning: #D97706;
151
+ $amp-studio-semantic-status-warning-bg: rgba(217, 119, 6, 0.08);
152
+ $amp-studio-semantic-status-error: #DC2626;
153
+ $amp-studio-semantic-status-error-bg: rgba(220, 38, 38, 0.08);
154
+ $amp-studio-semantic-status-info: #2563EB;
155
+ $amp-studio-semantic-status-info-bg: rgba(37, 99, 235, 0.08);
156
+ $amp-studio-theme-color-bg: #FFFFFF;
157
+ $amp-studio-theme-color-fg: #1C1917;
158
+ $amp-studio-theme-color-muted: #57534E;
159
+ $amp-studio-theme-color-border: #E7E5E4;
160
+ $amp-studio-theme-color-accent: #7C3AED;
161
+ $amp-studio-theme-layout-toolbar-h: 56px;
162
+ $amp-studio-theme-layout-drawer-h: 48px;
163
+ $amp-studio-theme-layout-drawer-h-open: 240px;
164
+ $amp-studio-theme-layout-pane-left-w: 30%;
165
+ $amp-studio-theme-map-voice-pixel: #7C3AED;
166
+ $amp-studio-theme-map-voice-aria: #F59E0B;
167
+ $amp-studio-theme-map-voice-heimdall: #3B82F6;
168
+ $amp-studio-theme-map-voice-atlas: #F5F5F4;
169
+ $amp-studio-theme-map-voice-sentinel: #EF4444;
170
+ $amp-studio-theme-map-voice-penny: #10B981;
171
+ $amp-studio-theme-map-voice-zara: #F43F5E;
172
+ $amp-studio-status-success: #059669;
173
+ $amp-studio-status-success-bg: rgba(5, 150, 105, 0.08);
174
+ $amp-studio-status-warning: #D97706;
175
+ $amp-studio-status-warning-bg: rgba(217, 119, 6, 0.08);
176
+ $amp-studio-status-error: #DC2626;
177
+ $amp-studio-status-error-bg: rgba(220, 38, 38, 0.08);
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@amplify-ai/tokens-studio",
3
+ "version": "1.0.0",
4
+ "description": "Amplify Magic Studio design tokens — Studio cockpit chrome, mirror/Map-mode voices, status scale; consumed only by studio.amplify.club",
5
+ "main": "dist/tokens.js",
6
+ "exports": {
7
+ "./css": "./dist/variables.css",
8
+ "./scss": "./dist/variables.scss",
9
+ "./tailwind": "./dist/tailwind.css",
10
+ "./json": "./dist/tokens.json",
11
+ "./js": "./dist/tokens.js",
12
+ ".": "./dist/tokens.js"
13
+ },
14
+ "scripts": {
15
+ "build": "node build.js"
16
+ },
17
+ "dependencies": {
18
+ "@amplify-ai/tokens-foundation": "^2.1.0"
19
+ },
20
+ "devDependencies": {
21
+ "style-dictionary": "^4.3.0"
22
+ },
23
+ "files": [
24
+ "dist/",
25
+ "tokens/"
26
+ ]
27
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "theme": {
3
+ "$description": "Magic Studio — Dark theme (cockpit chrome + Mirror voices). Studio is dark-default; this is the canonical mode.",
4
+ "product": "studio",
5
+ "mode": "dark",
6
+ "color": {
7
+ "$type": "color",
8
+ "bg": { "$value": "{semantic.bg-surface}", "$description": "Studio surface background (dark)" },
9
+ "fg": { "$value": "{semantic.text-primary}", "$description": "Studio default foreground (dark)" },
10
+ "muted": { "$value": "{semantic.text-secondary}", "$description": "Studio muted text (dark)" },
11
+ "border": { "$value": "{semantic.border-default}", "$description": "Studio default border (dark)" },
12
+ "accent": { "$value": "{semantic.accent}", "$description": "Studio action primary (dark)" }
13
+ },
14
+ "layout": {
15
+ "$type": "dimension",
16
+ "toolbar-h": { "$value": "56px" },
17
+ "drawer-h": { "$value": "48px" },
18
+ "drawer-h-open": { "$value": "240px" },
19
+ "pane-left-w": { "$value": "30%" }
20
+ },
21
+ "map": {
22
+ "$type": "color",
23
+ "voice-pixel": { "$value": "{color.violet.500}", "$description": "Pixel agent voice (dark — softer violet)" },
24
+ "voice-aria": { "$value": "{color.amber.500}" },
25
+ "voice-heimdall": { "$value": "{color.blue.500}" },
26
+ "voice-atlas": { "$value": "{color.stone.300}", "$description": "Atlas — flipped lighter on dark for legibility" },
27
+ "voice-sentinel": { "$value": "{color.red.500}" },
28
+ "voice-penny": { "$value": "{color.green.500}" },
29
+ "voice-zara": { "$value": "{color.rose.500}" }
30
+ }
31
+ },
32
+ "status": {
33
+ "$type": "color",
34
+ "success": { "$value": "{semantic.status-success}" },
35
+ "success-bg": { "$value": "{semantic.status-success-bg}" },
36
+ "warning": { "$value": "{semantic.status-warning}" },
37
+ "warning-bg": { "$value": "{semantic.status-warning-bg}" },
38
+ "error": { "$value": "{semantic.status-error}" },
39
+ "error-bg": { "$value": "{semantic.status-error-bg}" }
40
+ }
41
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "theme": {
3
+ "$description": "Magic Studio — Light theme (cockpit chrome + Mirror voices). Inherits primitives from tokens-foundation; layers Studio cockpit semantics on top.",
4
+ "product": "studio",
5
+ "mode": "light",
6
+ "color": {
7
+ "$type": "color",
8
+ "bg": { "$value": "{semantic.bg-surface}", "$description": "Studio surface background — paired with --studio-bg consumer alias" },
9
+ "fg": { "$value": "{semantic.text-primary}", "$description": "Studio default foreground — paired with --studio-fg" },
10
+ "muted": { "$value": "{semantic.text-secondary}", "$description": "Studio muted text — paired with --studio-muted" },
11
+ "border": { "$value": "{semantic.border-default}", "$description": "Studio default border — paired with --studio-border" },
12
+ "accent": { "$value": "{semantic.accent}", "$description": "Studio action primary — paired with --studio-accent" }
13
+ },
14
+ "layout": {
15
+ "$type": "dimension",
16
+ "toolbar-h": { "$value": "56px", "$description": "Top toolbar chrome height — paired with --studio-toolbar-h" },
17
+ "drawer-h": { "$value": "48px", "$description": "Bottom drawer collapsed height — paired with --studio-drawer-h" },
18
+ "drawer-h-open": { "$value": "240px", "$description": "Bottom drawer expanded height — paired with --studio-drawer-h-open" },
19
+ "pane-left-w": { "$value": "30%", "$description": "Left brief pane width — paired with --studio-pane-left-w" }
20
+ },
21
+ "map": {
22
+ "$type": "color",
23
+ "$description": "Mirror / Map-mode voice colours — one per agent voice in the Council rail",
24
+ "voice-pixel": { "$value": "{color.violet.600}", "$description": "Pixel agent voice — paired with --mirror-voice-pixel" },
25
+ "voice-aria": { "$value": "{color.amber.500}", "$description": "Aria agent voice — paired with --mirror-voice-aria" },
26
+ "voice-heimdall": { "$value": "{color.blue.500}", "$description": "Heimdall agent voice — paired with --mirror-voice-heimdall" },
27
+ "voice-atlas": { "$value": "{color.stone.100}", "$description": "Atlas agent voice — paired with --mirror-voice-atlas" },
28
+ "voice-sentinel": { "$value": "{color.red.500}", "$description": "Sentinel agent voice — paired with --mirror-voice-sentinel" },
29
+ "voice-penny": { "$value": "{color.green.500}", "$description": "Penny agent voice — paired with --mirror-voice-penny" },
30
+ "voice-zara": { "$value": "{color.rose.500}", "$description": "Zara agent voice — paired with --mirror-voice-zara" }
31
+ }
32
+ },
33
+ "status": {
34
+ "$type": "color",
35
+ "$description": "Studio status indicator scale — replaces the 10 raw hex literals in magic-studio/src/app/globals.css (status badges, off-system, promote-link, flow-status-pill).",
36
+ "success": { "$value": "{semantic.status-success}", "$description": "Live / positive / 'real' status indicator (was #10b981)" },
37
+ "success-bg": { "$value": "{semantic.status-success-bg}", "$description": "Success status surface tint" },
38
+ "warning": { "$value": "{semantic.status-warning}", "$description": "Preview / off-system / pending status (was #f59e0b)" },
39
+ "warning-bg": { "$value": "{semantic.status-warning-bg}", "$description": "Warning status surface tint" },
40
+ "error": { "$value": "{semantic.status-error}", "$description": "Flow error / failure status (was #d4524d)" },
41
+ "error-bg": { "$value": "{semantic.status-error-bg}", "$description": "Error status surface tint" }
42
+ }
43
+ }