@use 'iro-sass/src/iro-sass' as iro; @use '../functions' as fn; @include iro.props-namespace('backdrop') { @include iro.props-store(( --dims: ( --z-index: 10000, --blur: 2em, ), --colors: ( --bg: rgba(#000, .75), ), )); @include iro.bem-object(iro.props-namespace()) { position: fixed; inset: 0; z-index: fn.dim(--z-index); box-sizing: border-box; display: flex; flex-direction: column; overflow: auto; background-color: fn.color(--bg); backdrop-filter: blur(fn.dim(--blur)); } }