diff options
author | Volpeon <git@volpeon.ink> | 2024-10-24 09:05:39 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-24 09:05:39 +0200 |
commit | 0d8ff84a82e93348a97ffc550094d2e9b47f4943 (patch) | |
tree | 804328041d0652ba240aceb37eb651a225d7b870 /src/objects | |
parent | Border suffix (diff) | |
download | iro-design-0d8ff84a82e93348a97ffc550094d2e9b47f4943.tar.gz iro-design-0d8ff84a82e93348a97ffc550094d2e9b47f4943.tar.bz2 iro-design-0d8ff84a82e93348a97ffc550094d2e9b47f4943.zip |
Improved vertical divider
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_divider.scss | 4 | ||||
-rw-r--r-- | src/objects/_divider.vars.scss | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/objects/_divider.scss b/src/objects/_divider.scss index 7741922..b746551 100644 --- a/src/objects/_divider.scss +++ b/src/objects/_divider.scss | |||
@@ -78,6 +78,10 @@ | |||
78 | block-size: props.get(vars.$faint--border-width); | 78 | block-size: props.get(vars.$faint--border-width); |
79 | background-color: props.get(vars.$faint--bg-color); | 79 | background-color: props.get(vars.$faint--bg-color); |
80 | } | 80 | } |
81 | |||
82 | @include bem.modifier('vertical') { | ||
83 | background-color: props.get(vars.$vertical--faint--bg-color); | ||
84 | } | ||
81 | } | 85 | } |
82 | 86 | ||
83 | @include bem.modifier('labelled') { | 87 | @include bem.modifier('labelled') { |
diff --git a/src/objects/_divider.vars.scss b/src/objects/_divider.vars.scss index 66656cd..7d50798 100644 --- a/src/objects/_divider.vars.scss +++ b/src/objects/_divider.vars.scss | |||
@@ -23,6 +23,8 @@ $medium--label-color: props.def(--o-divider--medium--label-color, props.get(core | |||
23 | $faint--bg-color: props.def(--o-divider--faint--bg-color, props.get(core.$theme, --border)) !default; | 23 | $faint--bg-color: props.def(--o-divider--faint--bg-color, props.get(core.$theme, --border)) !default; |
24 | $faint--label-color: props.def(--o-divider--faint--label-color, props.get(core.$theme, --text-mute-more)) !default; | 24 | $faint--label-color: props.def(--o-divider--faint--label-color, props.get(core.$theme, --text-mute-more)) !default; |
25 | 25 | ||
26 | $vertical--faint--bg-color: props.def(--o-divider--faint--bg-color, props.get(core.$theme, --border-mute)) !default; | ||
27 | |||
26 | $static-themes: props.def(--o-divider); | 28 | $static-themes: props.def(--o-divider); |
27 | 29 | ||
28 | @each $theme in map.keys(props.get(core.$transparent-colors)) { | 30 | @each $theme in map.keys(props.get(core.$transparent-colors)) { |