LibraryMaterials

Emboss

3D embossed glass fill. Theme-aware (light and dark).

Emboss

Domain: materials
Registry key: emboss
Import: @ziteox/ui or @ziteox/ui/materials

3D embossed glass fill. The one theme-aware surface in the registry — forks under .dark / [data-theme="dark"] so the original hamburger fill still reads in both schemes.

Theme behaviour

themeAware: true. Light tokens apply by default; dark tokens apply under .dark / [data-theme="dark"].

Tokens (light)

TokenValue
bgrgba(255,255,255,0.45)
bgHoverrgba(255,255,255,0.58)
bgActivergba(255,255,255,0.58)
ink#18181b
bar#18181b
borderrgba(255,255,255,0.72)
shadow0 1px 0 rgba(255,255,255,0.95),0 1px 2px rgba(0,0,0,0.08),inset 0 1px 0 rgba(255,255,255,0.55),inset 0 -1px 0 rgba(0,0,0,0.06)
shadowHover0 1px 0 rgba(255,255,255,0.95),0 4px 12px rgba(0,0,0,0.1),inset 0 1px 0 rgba(255,255,255,0.6),inset 0 -1px 0 rgba(0,0,0,0.06)
blurblur(12px) saturate(1.25)

Tokens (dark)

TokenValue
bgrgba(255,255,255,0.12)
bgHoverrgba(255,255,255,0.18)
bgActivergba(255,255,255,0.18)
ink#fff
bar#fff
borderrgba(255,255,255,0.1)
shadow0 1px 0 rgba(255,255,255,0.28),0 1px 3px rgba(0,0,0,0.35),inset 0 1px 0 rgba(255,255,255,0.14),inset 0 -2px 0 rgba(0,0,0,0.22)
shadowHover0 1px 0 rgba(255,255,255,0.32),0 4px 16px rgba(0,0,0,0.42),inset 0 1px 0 rgba(255,255,255,0.18),inset 0 -2px 0 rgba(0,0,0,0.24)
blurblur(12px) saturate(1.25)

Painted as --ziteox-material-* on .ziteox-material-emboss.

Usage

<HamburgerButton material="emboss" />
<SiteMenuToggle material="emboss" />

Default for HamburgerButton when material is omitted and the control is not ghost (three-bar back-compat).

Preview

Live surface on the menu toggle — set Material to Emboss in the controls. Use the site theme toggle to see light vs dark forks.

Preset wrappers

Surface prop. Materials are not a light/dark mode.

Components that use it

Confirmed via material prop / materialClassName in packages/ui/src:

MaterialSurface and materialClassName in the materials module also accept emboss; they are the materials API itself, not separate Library component pages.