Who it is forA frontend developer with a shadcn/ui app who wants a refined, layered look without rewriting components.
The problemRestyling every shadcn/ui component by hand is slow, and a theme change can break existing markup.
The outcomeThe project's existing shadcn/ui components render in the Solid Glass material in light and dark modes, with no component code changed.
What you need first
- Node.js and npm
- A shadcn/ui project with React 19, Tailwind CSS 4 and the Base UI components
- Git, if you want to run the site from a local clone
Steps
- Start from a shadcn/ui project by running
npx shadcn@latest init. - Add the stylesheet by running
npx shadcn@latest add deeplethe/solid-glass/solid-glass. - Import it after Tailwind and shadcn's stylesheet:
@import "./solid-glass.css";. - Delete the
:rootand.darkcolour variables thatshadcn initwrote, since Solid Glass defines the same names. - Check the app in both light and dark mode; dark is the material as designed.
Prompt for your agent
In the shadcn/ui project at <project-path>, add the Solid Glass stylesheet from the deeplethe/solid-glass repository using `npx shadcn@latest add deeplethe/solid-glass/solid-glass`, import it after the Tailwind and shadcn stylesheets, and remove the duplicate `:root` and `.dark` colour variables. Report the files changed and confirm the build still runs.
Caveat. The README says a few shadcn/ui components in this repo differ from stock, but the stylesheet does not depend on those differences, so your own components should keep working.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for deeplethe/solid-glass and "Apply the Solid Glass look to a shadcn/ui project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer