@amplify-ai/tokens-studio 1.0.0 → 1.0.1
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/dist/variables.css +35 -0
- package/package.json +1 -1
package/dist/variables.css
CHANGED
|
@@ -178,6 +178,41 @@
|
|
|
178
178
|
--amp-studio-status-error-bg: rgba(220, 38, 38, 0.08);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
+
/* ──────────────────────────────────────────────────────────────────
|
|
182
|
+
Product-agnostic semantic aliases — resolve to active product theme.
|
|
183
|
+
Consumed by Canvas v2 primitives in @amplify-ai/ui via Tailwind
|
|
184
|
+
arbitrary classes (e.g. bg-[var(--amp-semantic-bg-accent-subtle)]).
|
|
185
|
+
Dark mode cascades through var() indirection automatically.
|
|
186
|
+
────────────────────────────────────────────────────────────────── */
|
|
187
|
+
:root {
|
|
188
|
+
--amp-semantic-bg-surface: var(--amp-studio-semantic-bg-surface);
|
|
189
|
+
--amp-semantic-bg-base: var(--amp-studio-semantic-bg-primary);
|
|
190
|
+
--amp-semantic-bg-canvas: var(--amp-studio-semantic-bg-sunken);
|
|
191
|
+
--amp-semantic-bg-subtle: var(--amp-studio-semantic-bg-sunken);
|
|
192
|
+
--amp-semantic-bg-raised: var(--amp-studio-semantic-bg-raised);
|
|
193
|
+
--amp-semantic-bg-accent-subtle: var(--amp-studio-semantic-accent-subtle);
|
|
194
|
+
--amp-semantic-bg-success-subtle: var(--amp-studio-semantic-status-success-bg);
|
|
195
|
+
--amp-semantic-bg-warning-subtle: var(--amp-studio-semantic-status-warning-bg);
|
|
196
|
+
--amp-semantic-bg-error-subtle: var(--amp-studio-semantic-status-error-bg);
|
|
197
|
+
--amp-semantic-bg-info-subtle: var(--amp-studio-semantic-status-info-bg);
|
|
198
|
+
--amp-semantic-text-default: var(--amp-studio-semantic-text-primary);
|
|
199
|
+
--amp-semantic-text-secondary: var(--amp-studio-semantic-text-secondary);
|
|
200
|
+
--amp-semantic-text-tertiary: var(--amp-studio-semantic-text-muted);
|
|
201
|
+
--amp-semantic-text-inverse: var(--amp-studio-semantic-text-inverse);
|
|
202
|
+
--amp-semantic-text-accent: var(--amp-studio-semantic-text-accent);
|
|
203
|
+
--amp-semantic-status-success: var(--amp-studio-semantic-status-success);
|
|
204
|
+
--amp-semantic-status-warning: var(--amp-studio-semantic-status-warning);
|
|
205
|
+
--amp-semantic-status-error: var(--amp-studio-semantic-status-error);
|
|
206
|
+
--amp-semantic-status-info: var(--amp-studio-semantic-status-info);
|
|
207
|
+
--amp-semantic-border-default: var(--amp-studio-semantic-border-default);
|
|
208
|
+
--amp-semantic-border-strong: var(--amp-studio-semantic-border-strong);
|
|
209
|
+
--amp-semantic-border-subtle: var(--amp-studio-semantic-border-subtle);
|
|
210
|
+
--amp-semantic-border-accent: var(--amp-studio-semantic-border-accent);
|
|
211
|
+
--amp-semantic-border-success: var(--amp-studio-semantic-status-success);
|
|
212
|
+
--amp-semantic-border-focus: var(--amp-studio-semantic-border-focus);
|
|
213
|
+
--amp-semantic-accent-soft: var(--amp-studio-semantic-accent-light);
|
|
214
|
+
}
|
|
215
|
+
|
|
181
216
|
/* Dark mode overrides */
|
|
182
217
|
[data-theme="dark"] {
|
|
183
218
|
--amp-studio-breakpoint-sm: 640px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amplify-ai/tokens-studio",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Amplify Magic Studio design tokens — Studio cockpit chrome, mirror/Map-mode voices, status scale; consumed only by studio.amplify.club",
|
|
5
5
|
"main": "dist/tokens.js",
|
|
6
6
|
"exports": {
|