Glass Surface
Every card automatically receives backdrop-filter: blur(16px), translucent background, pink-glow borders, and hover lift animation. Zero extra classes needed.
TRANSLUX isn’t a framework that forces its own markup. It’s a design sheet that transforms your existing semantic HTML into glassmorphic, accessible, premium UI — just like Bootstrap or NanoCSS, but with soul.
Drop it in. Watch everything glow.
This is a paragraph of body text rendered in Cormorant Garamond, our signature thin serif. It’s designed for maximum legibility at all sizes while maintaining an elegant, editorial character. Links look like this example link with the TRANSLUX pink accent.
Blockquote — “Every site that drops TRANSLUX in becomes a tiny act of resistance.” — Community Voices
| Element | Effect | Category |
|---|---|---|
<h1> – <h6> | Playfair Display, weighted, traced | Typography |
<p>, <li> | Cormorant Garamond, thin, readable | Typography |
<button> | Glass background, pink glow on hover | Interactive |
<input>, <select> | Frosted glass, focus glow border | Form |
<table> | Alternating glass rows, sticky header | Data |
<blockquote> | Left-border accent, glass panel | Content |
<a> | Pink accent, subtle hover lift | Navigation |
Glass Surface
Every card automatically receives backdrop-filter: blur(16px), translucent background, pink-glow borders, and hover lift animation. Zero extra classes needed.
Dark Mode Ready
All components respond to [data-theme='dark'] with deep pink-black glass panels and cyan accent glows. Toggle-ready out of the box.
Accessibility First
Focus-visible styles with pink glow rings. High contrast ratios maintained. Screen reader friendly. No cursor hijacking.
Mobile Responsive
Every element adapts. Cards stack. Tables scroll. Inputs scale. The glassmorphic effect degrades gracefully on low-power devices.
npm i transluxdata-translux to any element you want to glass-ifyTRANSLUX applies styling through CSS custom properties and nested selectors. When you add the TRANSLUX stylesheet to any webpage, it:
--sl-font, heading families)backdrop-filter to recognized surfaces<head>No JavaScript required for styling. No framework lock-in. Just CSS.
/* This is all you need */@import 'translux/glass.css';
/* That's it. Your page is now glassmorphic. */