From c645b7be46f343ef66c0e19532a12e6d6dd9db88 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 12 Feb 2022 10:10:33 +0100 Subject: Added dark color palette --- src/layouts/_container.scss | 14 +++++++------- src/layouts/_form.scss | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/layouts') diff --git a/src/layouts/_container.scss b/src/layouts/_container.scss index f63b04d..d3ecb5f 100644 --- a/src/layouts/_container.scss +++ b/src/layouts/_container.scss @@ -7,9 +7,9 @@ --dims: ( --content-width: iro.fn-px-to-rem(700px), --sm-content-width: iro.fn-px-to-rem(360px), - --pad-x: 3rem, - --pad-y: 3rem, - --in-page-spacing-y: fn.global-dim(--spacing --y --xl), + --pad-x: fn.global-dim(--spacing --xl), + --pad-y: fn.global-dim(--spacing --xl), + --in-page-spacing-y: fn.global-dim(--spacing --xl), ) ), 'dims'); @@ -17,8 +17,8 @@ overflow: hidden; @include iro.bem-elem('inner') { - margin-top: calc(-1 * fn.global-dim(--spacing --y --xl)); - margin-bottom: calc(-1 * fn.global-dim(--spacing --y --xl)); + margin-top: calc(-1 * fn.global-dim(--spacing --xl)); + margin-bottom: calc(-1 * fn.global-dim(--spacing --xl)); &::before, &::after { @@ -29,11 +29,11 @@ } &::before { - margin-bottom: fn.global-dim(--spacing --y --xl); + margin-bottom: fn.global-dim(--spacing --xl); } &::after { - margin-top: fn.global-dim(--spacing --y --xl); + margin-top: fn.global-dim(--spacing --xl); } } diff --git a/src/layouts/_form.scss b/src/layouts/_form.scss index 7225807..4334192 100644 --- a/src/layouts/_form.scss +++ b/src/layouts/_form.scss @@ -4,8 +4,8 @@ @include iro.props-namespace('form') { @include iro.props-store(( --dims: ( - --item-spacing-y: fn.global-dim(--spacing --y --md), - --label-spacing-x: fn.global-dim(--spacing --x --md), + --item-spacing-y: fn.global-dim(--spacing --md), + --label-spacing-x: fn.global-dim(--spacing --md), --hint-font-size: fn.global-dim(--font-size --sm), ), ), 'dims'); -- cgit v1.2.3-70-g09d2