summaryrefslogtreecommitdiffstats
path: root/src/objects/_divider.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_divider.scss')
-rw-r--r--src/objects/_divider.scss35
1 files changed, 15 insertions, 20 deletions
diff --git a/src/objects/_divider.scss b/src/objects/_divider.scss
index 465bbcf..3332331 100644
--- a/src/objects/_divider.scss
+++ b/src/objects/_divider.scss
@@ -1,5 +1,7 @@
1@use 'sass:map';
1@use 'iro-sass/src/index' as iro; 2@use 'iro-sass/src/index' as iro;
2@use '../functions' as fn; 3@use '../functions' as fn;
4@use '../config';
3 5
4@include iro.props-namespace('divider') { 6@include iro.props-namespace('divider') {
5 @include iro.props-store(( 7 @include iro.props-store((
@@ -32,29 +34,22 @@
32 --bg: fn.global-color(--border), 34 --bg: fn.global-color(--border),
33 --label: fn.global-color(--text-mute-more), 35 --label: fn.global-color(--text-mute-more),
34 ), 36 ),
35 --blue: (
36 --bg: fn.global-color(--blue --700),
37 --label: fn.global-color(--blue --1000),
38 ),
39 --purple: (
40 --bg: fn.global-color(--purple --700),
41 --label: fn.global-color(--purple --1000),
42 ),
43 --red: (
44 --bg: fn.global-color(--red --700),
45 --label: fn.global-color(--red --1000),
46 ),
47 --green: (
48 --bg: fn.global-color(--green --700),
49 --label: fn.global-color(--green --1000),
50 ),
51 --yellow: (
52 --bg: fn.global-color(--yellow --700),
53 --label: fn.global-color(--yellow --1000),
54 ),
55 ), 37 ),
56 )); 38 ));
57 39
40 @each $color in map.keys(map.get(config.$themes, config.$theme-default, --palettes)) {
41 @if $color != '--base' {
42 @include iro.props-store((
43 --colors: (
44 $color: (
45 --bg: fn.global-color($color --700),
46 --label: fn.global-color($color --1000),
47 )
48 ),
49 ));
50 }
51 }
52
58 @include iro.bem-object(iro.props-namespace()) { 53 @include iro.bem-object(iro.props-namespace()) {
59 display: flex; 54 display: flex;
60 flex-direction: row; 55 flex-direction: row;