@zovaris/sephiro 0.4.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 ADDED
@@ -0,0 +1,36 @@
1
+ # @zovaris/sephiro
2
+
3
+ Composable UI primitives for desktop apps. Small, themeable React components with semantic tokens. No global reset. Works with React and Preact.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ bun add @zovaris/sephiro
9
+ ```
10
+
11
+ ```tsx
12
+ import { Button, Field, Input, Select, Toggle } from "@zovaris/sephiro";
13
+ import "@zovaris/sephiro/styles.css";
14
+ ```
15
+
16
+ The stylesheet only defines component classes and token variables — it does not reset your app's base styles.
17
+
18
+ ## Themed usage
19
+
20
+ ```tsx
21
+ <main data-sephiro-theme="asterism">
22
+ <Button variant="primary">Open workspace</Button>
23
+ </main>
24
+ ```
25
+
26
+ Available presets: `default` (dark baseline), `light`, `asterism`, `soffy`. Multiple themes can coexist on one page through `data-sephiro-theme` on any ancestor.
27
+
28
+ ## Sizing
29
+
30
+ One control size contract: `sm` (32px), `md` (36px, default), `lg` (40px).
31
+
32
+ ## Docs
33
+
34
+ Full documentation, component catalog, and theming guide: [zovaris/sephiro](https://github.com/zovaris/sephiro).
35
+
36
+ MIT License.