@orion-ds/core 1.2.1 → 1.2.3

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
@@ -70,6 +70,20 @@ console.log(themes.light);
70
70
  console.log(themes.dark);
71
71
  ```
72
72
 
73
+ ## Using with @orion-ds/react
74
+
75
+ If you're using the React component library, you need **BOTH** CSS files:
76
+
77
+ ```tsx
78
+ // In your app entry file (e.g., main.tsx, App.tsx)
79
+ import '@orion-ds/core/theme.css'; // Design tokens - REQUIRED
80
+ import '@orion-ds/react/dist/react.css'; // Component styles - REQUIRED
81
+
82
+ import { ThemeProvider, Button } from '@orion-ds/react';
83
+ ```
84
+
85
+ > **Warning**: Missing either import will result in unstyled or broken components.
86
+
73
87
  ## Features
74
88
 
75
89
  - **Type-Safe**: Full TypeScript support with autocomplete
package/dist/theme.css CHANGED
@@ -326,6 +326,16 @@
326
326
  --color-brand-soft-hover: color-mix(in srgb, var(--color-brand-500) 20%, transparent);
327
327
  --color-success-soft: color-mix(in srgb, var(--color-success-500) 10%, transparent);
328
328
  --color-error-soft: color-mix(in srgb, var(--color-error-500) 10%, transparent);
329
+ --color-warning-soft: color-mix(in srgb, var(--color-warning-500) 10%, transparent);
330
+ --color-info-soft: color-mix(in srgb, var(--color-info-500) 10%, transparent);
331
+
332
+ /* ─── Soft Backgrounds (semantic aliases for components) ─── */
333
+ --soft-brand: color-mix(in srgb, var(--color-brand-500) 10%, transparent);
334
+ --soft-brand-hover: color-mix(in srgb, var(--color-brand-500) 20%, transparent);
335
+ --soft-success: color-mix(in srgb, var(--color-success-500) 10%, transparent);
336
+ --soft-error: color-mix(in srgb, var(--color-error-500) 10%, transparent);
337
+ --soft-warning: color-mix(in srgb, var(--color-warning-500) 10%, transparent);
338
+ --soft-info: color-mix(in srgb, var(--color-info-500) 10%, transparent);
329
339
 
330
340
  /* ─── Focus Ring ─── */
331
341
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--color-brand-500) 40%, transparent);
@@ -426,6 +436,16 @@
426
436
  --color-brand-soft-hover: color-mix(in srgb, var(--color-brand-500) 25%, transparent);
427
437
  --color-success-soft: color-mix(in srgb, var(--color-success-500) 15%, transparent);
428
438
  --color-error-soft: color-mix(in srgb, var(--color-error-500) 15%, transparent);
439
+ --color-warning-soft: color-mix(in srgb, var(--color-warning-500) 15%, transparent);
440
+ --color-info-soft: color-mix(in srgb, var(--color-info-500) 15%, transparent);
441
+
442
+ /* ─── Soft Backgrounds (semantic aliases for components) ─── */
443
+ --soft-brand: color-mix(in srgb, var(--color-brand-500) 15%, transparent);
444
+ --soft-brand-hover: color-mix(in srgb, var(--color-brand-500) 25%, transparent);
445
+ --soft-success: color-mix(in srgb, var(--color-success-500) 15%, transparent);
446
+ --soft-error: color-mix(in srgb, var(--color-error-500) 15%, transparent);
447
+ --soft-warning: color-mix(in srgb, var(--color-warning-500) 15%, transparent);
448
+ --soft-info: color-mix(in srgb, var(--color-info-500) 15%, transparent);
429
449
 
430
450
  /* ─── Focus Ring ─── */
431
451
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--color-brand-500) 50%, transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-ds/core",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Orion Design System - Core tokens and utilities",
5
5
  "author": "Orion Design System Team",
6
6
  "main": "dist/index.js",