From 48cb00040763459fc46d4aa108bf72c12f48f422 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 21 Jun 2024 23:07:50 +0200 Subject: WIP: Refactoring --- src_demo/components/_box.scss | 10 +++++----- src_demo/index.scss | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src_demo') diff --git a/src_demo/components/_box.scss b/src_demo/components/_box.scss index e983f2c..21d61c0 100644 --- a/src_demo/components/_box.scss +++ b/src_demo/components/_box.scss @@ -4,13 +4,13 @@ @include iro.props-namespace('box') { @include iro.props-store(( --colors: ( - --border: fn.global-color(--obj), + --border: fn.global-color(--border), ), - ), 'colors'); + )); @include iro.bem-component(iro.props-namespace()) { - margin: 2em 0; - padding: 2em; - border: 1px solid fn.color(--border); + margin-block: 2em; + padding: 2em; + border: 1px solid fn.color(--border); } } diff --git a/src_demo/index.scss b/src_demo/index.scss index 2a442bd..4845e03 100644 --- a/src_demo/index.scss +++ b/src_demo/index.scss @@ -11,6 +11,7 @@ @use '../src/layouts'; @use '../src/objects'; @use '../src/scopes'; +@use '../src/themes'; @use '../src/utils'; @use '../src/apply-vars'; -- cgit v1.2.3-70-g09d2