diff options
author | Volpeon <git@volpeon.ink> | 2024-10-19 17:14:45 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-19 17:14:45 +0200 |
commit | c41e16f6044548e27fbf8e4ef65ed3067278c80b (patch) | |
tree | 90033bba112417a1b7fa833f6a307df56b9799dd /src_demo/components/_box.scss | |
parent | Update (diff) | |
download | iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.tar.gz iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.tar.bz2 iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.zip |
Update
Diffstat (limited to 'src_demo/components/_box.scss')
-rw-r--r-- | src_demo/components/_box.scss | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src_demo/components/_box.scss b/src_demo/components/_box.scss index c746c33..ac217c0 100644 --- a/src_demo/components/_box.scss +++ b/src_demo/components/_box.scss | |||
@@ -1,16 +1,9 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/iro-sass' as iro; |
2 | @use '../../src/functions' as fn; | 2 | @use '../../src/props'; |
3 | @use '../../src/core.vars'; | ||
3 | 4 | ||
4 | @include iro.props-namespace('box') { | 5 | @include iro.bem-component('box') { |
5 | @include iro.props-store(( | 6 | padding: 2em; |
6 | --colors: ( | 7 | margin-block: 2em; |
7 | --border: fn.global-color(--border), | 8 | border: 1px solid props.get(core.$theme, --border); |
8 | ), | ||
9 | )); | ||
10 | |||
11 | @include iro.bem-component(iro.props-namespace()) { | ||
12 | margin-block: 2em; | ||
13 | padding: 2em; | ||
14 | border: 1px solid fn.color(--border); | ||
15 | } | ||
16 | } | 9 | } |