From 48cb00040763459fc46d4aa108bf72c12f48f422 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 21 Jun 2024 23:07:50 +0200 Subject: WIP: Refactoring --- src/objects/_backdrop.scss | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/objects/_backdrop.scss (limited to 'src/objects/_backdrop.scss') diff --git a/src/objects/_backdrop.scss b/src/objects/_backdrop.scss deleted file mode 100644 index ac23d63..0000000 --- a/src/objects/_backdrop.scss +++ /dev/null @@ -1,33 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; - -@include iro.props-namespace('backdrop') { - @include iro.props-store(( - --dims: ( - --z-index: 10000, - --blur: 2em, - ), - ), 'dims'); - - @include iro.props-store(( - --colors: ( - --bg: rgba(#000, .75), - ), - ), 'colors'); - - @include iro.bem-object(iro.props-namespace()) { - display: flex; - position: fixed; - z-index: fn.dim(--z-index); - top: 0; - right: 0; - bottom: 0; - left: 0; - box-sizing: border-box; - flex-direction: column; - overflow: auto; - background-color: fn.color(--bg); - color: fn.global-color(--fg); - backdrop-filter: blur(fn.dim(--blur)); - } -} -- cgit v1.2.3-70-g09d2