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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page