From aed2471a6b5f030d96175c0cf25c3fe44e389614 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 18 Mar 2025 16:56:43 +0100 Subject: Add placeholders --- src/objects/_placeholders.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/objects/_placeholders.scss (limited to 'src/objects/_placeholders.scss') diff --git a/src/objects/_placeholders.scss b/src/objects/_placeholders.scss new file mode 100644 index 0000000..e148f21 --- /dev/null +++ b/src/objects/_placeholders.scss @@ -0,0 +1,22 @@ +@use 'sass:meta'; +@use 'iro-sass/src/bem'; +@use 'iro-sass/src/props'; +@use '../props' as *; + +@forward 'placeholders.vars'; +@use 'placeholders.vars' as vars; + +@mixin styles { + @include materialize-at-root(meta.module-variables('vars')); + + @include bem.object('placeholders') { + @include bem.elem('placeholder') { + display: inline-block; + min-block-size: props.get(vars.$min-block-size); + vertical-align: middle; + background-color: currentColor; + border-radius: props.get(vars.$rounding); + opacity: props.get(vars.$opacity); + } + } +} -- cgit v1.2.3-70-g09d2