@orion-ds/core 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +1 -1
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-ds/core",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Orion Design System - Core tokens and utilities",
5
5
  "author": "Orion Design System Team",
6
6
  "main": "dist/index.js",