UNPKG

@primer/react-brand

Version:

Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.

23 lines (22 loc) 1.19 kB
import e from "../node_modules/clsx/dist/clsx.js"; import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes-CMw13Yda.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base-BlFewKzM.css';/* empty css */ /* empty css */ import t from "./FrostedGlassVFX.module.js"; import "react"; import { jsx as n } from "react/jsx-runtime"; //#region src/FrostedGlassVFX/FrostedGlassVFX.tsx var r = [ "low", "medium", "high" ], i = "medium"; function a({ hasBorderRadius: r = !0, children: a, className: o, intensity: s = i, ...c }) { return /* @__PURE__ */ n("div", { className: e(t.FrostedGlassVFX, r && t["FrostedGlassVFX--rounded-corners"], t[`FrostedGlassVFX--intensity-${s}`], o), ...c, children: a }); } //#endregion export { a as FrostedGlassVFX, r as FrostedGlassVFXIntensity, i as defaultFrostedGlassVFXIntensity }; //# sourceMappingURL=FrostedGlassVFX.js.map