diff options
author | Volpeon <git@volpeon.ink> | 2024-10-17 16:45:00 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-17 16:45:00 +0200 |
commit | 50f6acc739f24bfa2ca080d08e90d82f8fa83543 (patch) | |
tree | 404dbe97d34b7e4fc3293c8e6a8c92d9941ac51e /src_old/layouts/_button-group.scss | |
parent | Colors (diff) | |
download | iro-design-50f6acc739f24bfa2ca080d08e90d82f8fa83543.tar.gz iro-design-50f6acc739f24bfa2ca080d08e90d82f8fa83543.tar.bz2 iro-design-50f6acc739f24bfa2ca080d08e90d82f8fa83543.zip |
Revamped variable management
Diffstat (limited to 'src_old/layouts/_button-group.scss')
-rw-r--r-- | src_old/layouts/_button-group.scss | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src_old/layouts/_button-group.scss b/src_old/layouts/_button-group.scss new file mode 100644 index 0000000..a70d27a --- /dev/null +++ b/src_old/layouts/_button-group.scss | |||
@@ -0,0 +1,16 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use '../functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('button-group') { | ||
5 | @include iro.props-store(( | ||
6 | --dims: ( | ||
7 | --spacing: fn.global-dim(--size --150), | ||
8 | ), | ||
9 | )); | ||
10 | |||
11 | @include iro.bem-layout(iro.props-namespace()) { | ||
12 | display: flex; | ||
13 | gap: fn.dim(--spacing); | ||
14 | flex-wrap: wrap; | ||
15 | } | ||
16 | } | ||