Skip to main content

surfaceBlurSupported

The support test for backdrop-filter in both spellings. Surfaces are translucent only where this holds.

This is a constant exported by @mapcairn/theme, checked against version 0.2.0.

Signature​

import { surfaceBlurSupported } from "@mapcairn/theme";

surfaceBlurSupported = "(backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))"

Source: packages/theme/src/tokens.css.ts:289