Who it is forA designer or frontend developer who wants the material to match a product's brand without writing CSS from scratch.
The problemHand-tuning a glass material's thickness, tint, radius and blur in CSS is slow to iterate on.
The outcomeA customised set of Solid Glass variables that matches the chosen dials, ready to paste into the project's stylesheet.
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
- Open the Create page at https://deeplethe.github.io/solid-glass/create.
- Adjust the dials for thickness, tint, chart colour, type, radius, rim and blur, and watch the preview update.
- Copy the few lines of CSS the page produces.
- Paste them after the Solid Glass import in your stylesheet, below the
@import "./solid-glass.css";line. - Check the components in light and dark mode to confirm the chosen values apply.
Prompt for your agent
Open the Create page of the Solid Glass site, set the dials to <chosen-values>, copy the generated CSS, and add it to <stylesheet-path> after the solid-glass.css import. Report the variables changed and confirm the project still builds.
Caveat. The README says the Create page turns the stylesheet's variables, so changes apply to the whole app and should be checked against existing shadcn/ui components.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for deeplethe/solid-glass and "Tune the glass thickness, tint and radius with the Create page"
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