react-mcu 1.0.7 → 1.0.8

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 +7 -4
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -3,9 +3,14 @@
3
3
  [![](https://img.shields.io/badge/storybook-171c23.svg?logo=storybook)](https://main--695eb517cb602e59b4cc045c.chromatic.com)
4
4
 
5
5
  It injects `--mcu-*` CSS variables into the page, based on
6
- [m3 color system](https://m3.material.io/styles/color/roles).
6
+ [m3 color system](https://m3.material.io/styles/color/system/overview).
7
7
 
8
- https://material-foundation.github.io/material-theme-builder/
8
+ https://github.com/user-attachments/assets/5b67c961-d7a4-4b64-9356-4ada26bc9be4
9
+
10
+ M3 reference:
11
+ |builder|roles|
12
+ |-|-|
13
+ |[<img width="2836" height="2266" alt="CleanShot 2026-01-14 at 08 58 40@2x" src="https://github.com/user-attachments/assets/e4b47c00-716f-4b08-b393-de306d5ce302" />](https://material-foundation.github.io/material-theme-builder/)|[<img width="2836" height="2266" alt="CleanShot 2026-01-14 at 09 01 23@2x" src="https://github.com/user-attachments/assets/826e502d-e173-43c4-807a-53d0ba075a88" />](https://m3.material.io/styles/color/roles)|
9
14
 
10
15
  # Usage
11
16
 
@@ -38,8 +43,6 @@ import { Mcu } from "react-mcu";
38
43
  >
39
44
  > CSS varnames are always kebab-cased, `myCustomColor1` → `--mcu-my-custom-color-1`
40
45
 
41
- https://github.com/user-attachments/assets/5b67c961-d7a4-4b64-9356-4ada26bc9be4
42
-
43
46
  A `useMcu` hook is also provided:
44
47
 
45
48
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-mcu",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "A React component library",
5
5
  "keywords": [
6
6
  "react",
@@ -76,6 +76,7 @@
76
76
  "local-release": "pnpm run ci && changeset version && changeset publish",
77
77
  "storybook": "storybook dev -p 6006",
78
78
  "build-storybook": "storybook build",
79
- "chromatic": "chromatic --project-token $CHROMATIC_PROJECT_TOKEN"
79
+ "chromatic": "chromatic --project-token $CHROMATIC_PROJECT_TOKEN",
80
+ "changeset": "pnpm exec changeset"
80
81
  }
81
82
  }