@dixy-ui/themes 0.1.0-beta.0 → 0.1.0-beta.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.
Files changed (2) hide show
  1. package/README.md +38 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,41 @@
1
- # Dixy 2D skins
1
+ # @dixy-ui/themes
2
2
 
3
- Import one definition and its stylesheet alongside @dixy-ui/react/styles.css. Skins change existing Dixy components. Each skin has an optional, independently imported React renderer; no graphics engine is required.
3
+ 32 starter themes for [Dixy UI](https://github.com/akssmax/DixyUI), from paper and glass to terminals and festivals, plus an authoring API for your own. Each theme is a material, a frame, a character and a chrome over the same accessible components.
4
+
5
+ [![npm](https://img.shields.io/npm/v/%40dixy-ui%2Fthemes/beta?label=npm&color=7c3aed)](https://www.npmjs.com/package/@dixy-ui/themes) [![MIT](https://img.shields.io/badge/license-MIT-7c3aed)](https://github.com/akssmax/DixyUI/blob/main/LICENSE)
6
+
7
+ > **Public beta.** APIs may change between `0.x` releases. See the [changelog](./CHANGELOG.md) and the [known issues](https://github.com/akssmax/DixyUI#known-issues).
8
+
9
+ [Documentation](https://dixy-ui-docs.akshaysaini-design.workers.dev) · [Components](https://dixy-ui-docs.akshaysaini-design.workers.dev/docs/components/button) · [Themes](https://dixy-ui-docs.akshaysaini-design.workers.dev/#themes) · [GitHub](https://github.com/akssmax/DixyUI)
10
+
11
+ ## Install
12
+
13
+ ```sh
14
+ pnpm add @dixy-ui/react@beta @dixy-ui/themes@beta
15
+ ```
16
+
17
+ Requires `@dixy-ui/react`.
18
+
19
+ ## Quick start
20
+
21
+ Every starter theme has its own entry point, so you only ship the one you use. Spread its settings onto `Theme` and import its stylesheet:
22
+
23
+ ```tsx
24
+ import "@dixy-ui/react/styles.css";
25
+ import "@dixy-ui/themes/retro-os.css";
26
+ import { Theme, Button } from "@dixy-ui/react";
27
+ import { retroOSTheme } from "@dixy-ui/themes/retro-os";
28
+
29
+ <Theme {...retroOSTheme}>
30
+ <Button>Save changes</Button>
31
+ </Theme>;
32
+ ```
33
+
34
+ Browse all 32 starters on the [landing page](https://dixy-ui-docs.akshaysaini-design.workers.dev/#themes) or build your own in the [playground](https://dixy-ui-docs.akshaysaini-design.workers.dev/playground).
35
+
36
+ ## Skins and ornament renderers
37
+
38
+ Import one definition and its stylesheet alongside `@dixy-ui/react/styles.css`. Skins change existing Dixy components. Each skin has an optional, independently imported React renderer; no graphics engine is required.
4
39
 
5
40
  ```tsx
6
41
  import { Theme, Button } from "@dixy-ui/react";
@@ -19,7 +54,7 @@ import "@dixy-ui/themes/studio-hardware.css";
19
54
  </Theme>;
20
55
  ```
21
56
 
22
- Eleven independent entries: living-forest, retro-os, winamp-signal, studio-hardware, prism-glass, tactile-atelier, ocean-depths, candy-clay, art-deco, y2k-titanium, material-light. Explicit material overrides use the optional @dixy-ui/react/materials.css pack. Undefined skin inherits, null clears; ThemeScope preserves the skin in popups.
57
+ Every starter has its own entry point and stylesheet (for example `@dixy-ui/themes/retro-os` and `@dixy-ui/themes/retro-os.css`). Explicit material overrides use the optional @dixy-ui/react/materials.css pack. Undefined skin inherits, null clears; ThemeScope preserves the skin in popups.
23
58
 
24
59
  Use authoring.defineSkin for compatible original definition/CSS pairs. Use a namespaced ID and scope CSS to actual data-dixy-skin parts; keep artwork separate from control semantics. The catalog contains metadata only. No raw CSS, JavaScript or shader is executed from imported playground presets.
25
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dixy-ui/themes",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.1",
4
4
  "type": "module",
5
5
  "description": "Independent 2D skins for Dixy's existing components.",
6
6
  "license": "MIT",
@@ -330,7 +330,7 @@
330
330
  }
331
331
  },
332
332
  "dependencies": {
333
- "@dixy-ui/tokens": "0.1.0-beta.0"
333
+ "@dixy-ui/tokens": "0.1.0-beta.1"
334
334
  },
335
335
  "devDependencies": {
336
336
  "typescript": "5.9.3",