From 48cb00040763459fc46d4aa108bf72c12f48f422 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 21 Jun 2024 23:07:50 +0200 Subject: WIP: Refactoring --- src/layouts/_button-group.scss | 2 +- src/layouts/_container.scss | 2 +- src/layouts/_form.scss | 4 ++-- src/layouts/_media.scss | 2 +- src/layouts/_message-group.scss | 8 ++++---- src/layouts/_overflow.scss | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/layouts') diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss index 5f2cbe7..a70d27a 100644 --- a/src/layouts/_button-group.scss +++ b/src/layouts/_button-group.scss @@ -6,7 +6,7 @@ --dims: ( --spacing: fn.global-dim(--size --150), ), - ), 'dims'); + )); @include iro.bem-layout(iro.props-namespace()) { display: flex; diff --git a/src/layouts/_container.scss b/src/layouts/_container.scss index b567119..b28eea2 100644 --- a/src/layouts/_container.scss +++ b/src/layouts/_container.scss @@ -10,7 +10,7 @@ --pad-x: fn.global-dim(--size --400), --pad-y: fn.global-dim(--size --800), ) - ), 'dims'); + )); @include iro.props-store(( --dims: ( diff --git a/src/layouts/_form.scss b/src/layouts/_form.scss index 901f613..9c741ec 100644 --- a/src/layouts/_form.scss +++ b/src/layouts/_form.scss @@ -1,7 +1,7 @@ @use 'iro-sass/src/index' as iro; @use '../functions' as fn; -@use '../objects/field-label'; +// @use '../objects/field-label'; @include iro.props-namespace('form') { @include iro.props-store(( @@ -10,7 +10,7 @@ --label-spacing-x: fn.global-dim(--size --325), --hint-font-size: fn.global-dim(--font-size --75), ), - ), 'dims'); + )); @include iro.bem-layout(iro.props-namespace()) { display: flex; diff --git a/src/layouts/_media.scss b/src/layouts/_media.scss index d276d33..fa90975 100644 --- a/src/layouts/_media.scss +++ b/src/layouts/_media.scss @@ -22,7 +22,7 @@ --pad-y: fn.global-dim(--size --225), ) ) - ), 'dims'); + )); @include iro.bem-layout(iro.props-namespace()) { display: flex; diff --git a/src/layouts/_message-group.scss b/src/layouts/_message-group.scss index 125c215..f977b61 100644 --- a/src/layouts/_message-group.scss +++ b/src/layouts/_message-group.scss @@ -1,7 +1,7 @@ @use 'iro-sass/src/index' as iro; @use '../functions' as fn; -@use '../objects/message'; +// @use '../objects/message'; @include iro.props-namespace('message-group') { @include iro.props-store(( @@ -15,7 +15,7 @@ --spacing-y: fn.global-dim(--size --50), ) ) - ), 'dims'); + )); @include iro.bem-layout(iro.props-namespace()) { display: grid; @@ -43,7 +43,7 @@ position: absolute; top: 0; left: calc(-1 * fn.dim(--arrow-size)); - border: fn.dim(--arrow-size) solid fn.global-color(--bg); + border: fn.dim(--arrow-size) solid fn.global-color(--bg-l2); border-bottom-color: transparent; border-left-color: transparent; } @@ -59,7 +59,7 @@ right: calc(-1 * fn.dim(--arrow-size)); left: auto; border-right-color: transparent; - border-left-color: fn.global-color(--bg); + border-left-color: fn.global-color(--bg-l2); } } } diff --git a/src/layouts/_overflow.scss b/src/layouts/_overflow.scss index d3af570..8643bbf 100644 --- a/src/layouts/_overflow.scss +++ b/src/layouts/_overflow.scss @@ -4,6 +4,6 @@ @include iro.props-namespace('overflow') { @include iro.bem-layout(iro.props-namespace()) { overflow: auto; - scrollbar-color: fn.global-color(--obj-lo) transparent; + scrollbar-color: fn.global-color(--text-disabled) transparent; } } -- cgit v1.2.3-70-g09d2