From f7fbbe455a8b0ad13426993728d97cbdf343473c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 12 Feb 2022 13:02:20 +0100 Subject: Update --- src/objects/_action-menu.scss | 8 ++++---- src/objects/_backdrop.scss | 4 ++-- src/objects/_menu.scss | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss index 59e0287..e69b381 100644 --- a/src/objects/_action-menu.scss +++ b/src/objects/_action-menu.scss @@ -5,13 +5,13 @@ @include iro.props-store(( --dims: ( --pad-x: 0, - --pad-y: iro.fn-px-to-rem(5px), - --separator: iro.fn-px-to-rem(5px), + --pad-y: fn.global-dim(--spacing --xs), + --separator: fn.global-dim(--spacing --xs), --rounding: 3px, --border: 1px, --item: ( - --pad-x: iro.fn-px-to-rem(12px), - --pad-y: iro.fn-px-to-rem(7px), + --pad-x: fn.global-dim(--spacing --sm), + --pad-y: fn.global-dim(--spacing --xs), ), ), ), 'dims'); diff --git a/src/objects/_backdrop.scss b/src/objects/_backdrop.scss index d5ce028..34ce46a 100644 --- a/src/objects/_backdrop.scss +++ b/src/objects/_backdrop.scss @@ -5,8 +5,8 @@ @include iro.props-store(( --dims: ( --z-index: 10000, - --pad-x: iro.fn-px-to-rem(14px), - --pad-y: iro.fn-px-to-rem(60px), + --pad-x: fn.global-dim(--spacing --sm), + --pad-y: fn.global-dim(--spacing --sm), ), ), 'dims'); diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index 4707209..40c97e0 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss @@ -4,10 +4,10 @@ @include iro.props-namespace('menu') { @include iro.props-store(( --dims: ( - --separator: iro.fn-px-to-rem(10px), + --separator: fn.global-dim(--spacing --xs), --item: ( - --pad-x: iro.fn-px-to-rem(10px), - --pad-y: iro.fn-px-to-rem(5px), + --pad-x: fn.global-dim(--spacing --sm), + --pad-y: fn.global-dim(--spacing --xs), ), ), ), 'dims'); -- cgit v1.2.3-70-g09d2