summaryrefslogtreecommitdiffstats
path: root/src/objects/_divider.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-25 19:37:52 +0200
committerVolpeon <git@volpeon.ink>2024-10-25 19:37:52 +0200
commite0815613914e16d73a30efe709a74b994cc31963 (patch)
tree9876cb3b6937173fd4dd62958d5c9d1ba6feea87 /src/objects/_divider.vars.scss
parentNew palette generation (diff)
downloadiro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.gz
iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.bz2
iro-design-e0815613914e16d73a30efe709a74b994cc31963.zip
More efficient theming
Diffstat (limited to 'src/objects/_divider.vars.scss')
-rw-r--r--src/objects/_divider.vars.scss18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/objects/_divider.vars.scss b/src/objects/_divider.vars.scss
index 7d50798..1117fd5 100644
--- a/src/objects/_divider.vars.scss
+++ b/src/objects/_divider.vars.scss
@@ -14,18 +14,18 @@ $medium--label-font-size: props.def(--o-divider--medium--label-font-size, props.
14$faint--border-width: props.def(--o-divider--faint--border-width, props.get(core.$border-width--thin)) !default; 14$faint--border-width: props.def(--o-divider--faint--border-width, props.get(core.$border-width--thin)) !default;
15$faint--label-font-size: props.def(--o-divider--faint--label-font-size, props.get(core.$font-size--50)) !default; 15$faint--label-font-size: props.def(--o-divider--faint--label-font-size, props.get(core.$font-size--50)) !default;
16 16
17$strong--bg-color: props.def(--o-divider--strong--bg-color, props.get(core.$theme, --text)) !default; 17$strong--bg-color: props.def(--o-divider--strong--bg-color, props.get(core.$theme, --text), 'color') !default;
18$strong--label-color: props.def(--o-divider--strong--label-color, props.get(core.$theme, --text)) !default; 18$strong--label-color: props.def(--o-divider--strong--label-color, props.get(core.$theme, --text), 'color') !default;
19 19
20$medium--bg-color: props.def(--o-divider--medium--bg-color, props.get(core.$theme, --border)) !default; 20$medium--bg-color: props.def(--o-divider--medium--bg-color, props.get(core.$theme, --border), 'color') !default;
21$medium--label-color: props.def(--o-divider--medium--label-color, props.get(core.$theme, --text-mute)) !default; 21$medium--label-color: props.def(--o-divider--medium--label-color, props.get(core.$theme, --text-mute), 'color') !default;
22 22
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), 'color') !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), 'color') !default;
25 25
26$vertical--faint--bg-color: props.def(--o-divider--faint--bg-color, props.get(core.$theme, --border-mute)) !default; 26$vertical--faint--bg-color: props.def(--o-divider--faint--bg-color, props.get(core.$theme, --border-mute), 'color') !default;
27 27
28$static-themes: props.def(--o-divider); 28$static-themes: props.def(--o-divider, (), 'color');
29 29
30@each $theme in map.keys(props.get(core.$transparent-colors)) { 30@each $theme in map.keys(props.get(core.$transparent-colors)) {
31 $button-theme: --static-#{string.slice($theme, 3)}; 31 $button-theme: --static-#{string.slice($theme, 3)};
@@ -53,7 +53,7 @@ $themes-config: (
53 negative: --negative, 53 negative: --negative,
54) !default; 54) !default;
55 55
56$themes: props.def(--o-divider); 56$themes: props.def(--o-divider, (), 'color');
57 57
58@each $theme, $key in $themes-config { 58@each $theme, $key in $themes-config {
59 $themes: props.merge($themes, ( 59 $themes: props.merge($themes, (