Skip to main content

surfaceBlurStyle

Surface styling for floating chrome: the translucent surface colour with its backdrop blur, with the -webkit- spelling Safari needs. Spread it into a vanilla-extract style.

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

Signature​

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

surfaceBlurStyle: {
readonly backgroundColor: `var(--${string})`;
readonly backdropFilter: `var(--${string})`;
readonly WebkitBackdropFilter: `var(--${string})`;
}

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