- 8ee5992: -builder subcommand
- fcec239: doc
- Package renamed from
react-mcutomaterial-theme-builder - Default Figma output directory renamed from
mcu-themetomaterial-theme
-
c6c0880: ### BREAKING: CSS custom properties renamed to follow Material Design 3 token architecture
All generated CSS custom properties have been renamed to align with the official M3 design token naming convention (
sys.colorfor semantic tokens,ref.palettefor tonal palettes).Before After --mcu-primary--md-sys-color-primary--mcu-on-primary--md-sys-color-on-primary--mcu-surface--md-sys-color-surface--mcu-{token}--md-sys-color-{token}Before After --mcu-primary-40--md-ref-palette-primary-40--mcu-secondary-90--md-ref-palette-secondary-90--mcu-{palette}-{tone}--md-ref-palette-{palette}-{tone}The default prefix is
"md"(Material Design convention). Use the newprefixprop to customize it:<Mcu source="#6750A4" prefix="my-app">
This produces
--my-app-sys-color-primary,--my-app-ref-palette-primary-40, etc.Find and replace in your CSS/Tailwind:
--mcu-<palette>-<tone>→--md-ref-palette-<palette>-<tone>(palette shades)--mcu-<token>→--md-sys-color-<token>(semantic tokens)
Or set
prefix="mcu"and adapt the newsys-color/ref-palettesegments.Scheme tokens are no longer raw hex values — they resolve to
var(--md-ref-palette-...), enabling a single point of truth for color values.New tones added: 4, 6, 12, 17, 22, 24, 35, 87, 92, 94, 96. This increases the number of CSS variables generated but does not break existing usage.
- Top-level structure changed from
Schemes/Palettestoref.palette.*/sys.color.* - System tokens now use DTCG alias syntax
{ref.palette.Primary.40}instead of direct color values - System tokens include
$descriptionandcss.variable(kebab-case) extensions
The
contrastAllColorsandadaptiveShadesprops/options have been removed from the<Mcu>component, thebuilder()function, and the CLI.These experimental features are no longer needed now that
md.sys.*tokens properly referencemd.ref.*palette tokens viavar().Migration: Simply remove any usage of
contrastAllColorsoradaptiveShadesfrom your code:- <Mcu source="#6750A4" contrastAllColors adaptiveShades> + <Mcu source="#6750A4">
- builder("#6750A4", { contrastAllColors: true, adaptiveShades: true }) + builder("#6750A4")
- react-mcu builder '#6750A4' --contrast-all-colors --adaptive-shades + react-mcu builder '#6750A4'
- b41c145: -tsx
- 648f966: fix bin deps
- d3e99ec: cli
- 70156a3: contrastAllColors
- 9f1fd78: different fixes
- 05568d5: shades
- 19b5825: Add 'use client' directive for React Server Components compatibility
- 834cc2a: doc
- 5d50023: doc
- 3274bf6: core colors impl
- 7f27aca: tw fix
- eab6a2c: defaults
- 27d5e6f: fix custom-colors impl
- 5941837: Export useMcu hook from package and add Tailwind CSS v4 integration file
- c413069: tw x sb
- 4bf1958: bump
- ddcf28f: impl
- fab7ea5: Update Mcu component output from "Hello World" to "hello react-mcu"