Foundation
Liquid Glass
FoundationalCross-brand glassmorphism utilities. Every brand inherits the same .glass-* classes; each one is tinted by the current .brand-<name> scope through semantic tokens. Zero brand-specific CSS.
Brand + mode
Tip: every demo below sits inside the same .brand-tpemis wrapper. Nothing else changes between brand switches — the glass just retints.
Glass cards
Glass buttons
Glass navigation + input
Glass tags
BrandAccentSecondary
Shimmer
Integrated: RnButton + RnCard glass variants
The ui-rn primitives accept glass variants directly. Consumers opt in at the prop level; no CSS authoring required.
Token contract
These are the only CSS variables the glass utilities read. Override any of them in a brand file and the utilities retint.
--color-bg-glass-dark--color-bg-glass-light--color-border-glass-dark--color-border-glass-light (per-brand)--shadow-glass--shadow-glass-light (per-brand)--shadow-brand-glow (per-brand)--blur-glass-standard / -subtle / -heavy--color-bg-brand (per-brand)--color-bg-brand-subtle (per-brand)--color-bg-accent-subtle--color-interactive-hover / -focus (per-brand)--color-text-brand (per-brand)--color-text-on-brand / -on-glass / -accent / -secondaryGraceful degradation
- Browsers without
backdrop-filter: glass surfaces swap to solid brand fills. prefers-reduced-data: reduce: blur filters disabled; translucency kept.prefers-reduced-motion: reduce: shimmer animation disabled.- Tier-2 SVG refraction (
#glass-refractinindex.html) activates only under@supports (backdrop-filter: url(...)); absent on Firefox and older Safari — silently ignored.