Version Packages - #183
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
August 18, 2026 12:24
33ba2e6 to
8e7064e
Compare
abernier-release
Bot
force-pushed
the
changeset-release/main
branch
from
August 18, 2026 12:30
8e7064e to
34da51d
Compare
abernier-release
Bot
force-pushed
the
changeset-release/main
branch
from
August 18, 2026 12:56
34da51d to
e7f9769
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
material-theme-builder@4.0.0
Major Changes
19757d4:
shadcn-initis removed, andshadcn-applyis a plain forwarder.shadcn-initscaffolded a shadcn app, themed it and started its dev server.Three jobs, and only the middle one was ours — scaffolding is what
shadcn initalready does, better and with its own eighteen options, andstarting a dev server is not a theming tool's business. Everything it needed to
hold those together (a default
--preset b0 --template vite, a merge thatinjected them only where you had not, reading the project name back out of the
merged argv to know where to
cd) went with it:shadcn-applyis unchanged in what it does — generate a registry item for yoursource color,
shadcn addit, delete it — and simpler in how it treats you.Everything after a
--now goes toshadcn adduntouched, with no exception:--printis gone. It rendered the chain as a shell one-liner instead ofrunning it, and required describing that chain as data so the two could not
disagree. On a single
shadcn add, there is nothing left to disagree about.--is no longer refused with anexplanation. It is forwarded, and shadcn answers for it. "Everything after the
separator is shadcn's" is now true without an asterisk.
--shadcn-clino longer validates its argument. Whatevernpxresolves,it runs.
The theme options (
--scheme,--contrast, the color overrides,--prefix,--no-fallback) are unchanged, and so is--format registry-itemfor piping itsomewhere else yourself.
Unrelated to shadcn, and in this release because it is breaking too:
--formatnow declares its own list, so--format bananasis refused by nameinstead of silently producing JSON.
Minor Changes
d2dceca:
toShadcnAliases()now emits:root:root, .dark.darkinstead of:root, .dark.The block outranks shadcn's own
:rootand.darkon specificity rather thanon source order, so
@import "material-theme-builder/shadcn.css"goes with yourother imports — where CSS requires an
@importto be. It previously had to comeafter shadcn's blocks, below other rules, which a conforming CSS parser drops:
Vite's
postcss-importdoes exactly that, and the mapping vanished with noerror.
If you already import it at the bottom of your
globals.css, move it up withthe others. Leaving it where it is still works.
a7d7b1c:
ExportButtonno longer places itself, and wears the Figma mark.It used to be
fixedin the bottom-right corner on its own account, which is adecision that belongs to whoever renders it — Storybook now stacks it with a
second FAB, and two self-placing FABs land on each other. Wrap it in your own
positioned element to keep it where it was:
Its download arrow is now the Figma mark, which is what the file it hands over
actually is.
Patch Changes
4a4c5d3: A blank core-color override now reads as no override, instead of throwing.
primaryand the other five are optional, butbuilder(source, { primary: "" })used to refuse
""as an invalid hex — which is what a UI hands over for"cleared". Clearing a color picker now falls back to the palette generated from
source.sourceitself is still required, so""there stays an error.