From 036550a79dc44aedf1ff1e8c7a58a7994a901820 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 23 Nov 2024 14:06:13 +0100 Subject: o-tabs -> o-tabbar --- src/objects/_tabbar.vars.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/objects/_tabbar.vars.scss (limited to 'src/objects/_tabbar.vars.scss') diff --git a/src/objects/_tabbar.vars.scss b/src/objects/_tabbar.vars.scss new file mode 100644 index 0000000..f4486d6 --- /dev/null +++ b/src/objects/_tabbar.vars.scss @@ -0,0 +1,25 @@ +@use 'sass:map'; +@use 'sass:string'; +@use 'iro-sass/src/props'; +@use '../core.vars' as core; + +$block-size: props.def(--o-tabbar--block-size, props.get(core.$size--700)) !default; +$rounding: props.def(--o-tabbar--rounding, props.get(core.$rounding)) !default; +$spacing: props.def(--o-tabbar--spacing, props.get(core.$size--400)) !default; +$tab--pad-i: props.def(--o-tabbar--tab--pad-i, props.get(core.$size--50)) !default; + +$indicator--width: props.def(--o-tabbar--indicator--width, props.get(core.$border-width--medium)) !default; + +$key-focus--border-width: props.def(--o-tabbar--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; +$key-focus--border-offset: props.def(--o-tabbar--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; +$key-focus--outline-width: props.def(--o-tabbar--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; + +$tab--text-color: props.def(--o-tabbar--tab--text-color, props.get(core.$theme, --text-mute), 'color') !default; +$tab--selected--text-color: props.def(--o-tabbar--tab--selected--text-color, props.get(core.$theme, --heading), 'color') !default; +$tab--accent--text-color: props.def(--o-tabbar--tab--accent--text-color, props.get(core.$theme, --accent, --1100), 'color') !default; + +$railing--bg-color: props.def(--o-tabbar--railing--bg-color, props.get(core.$theme, --border-mute), 'color') !default; + +$key-focus--text-color: props.def(--o-tabbar--key-focus--text-color, props.get(core.$theme, --focus, --text), 'color') !default; +$key-focus--border-color: props.def(--o-tabbar--key-focus--border-color, props.get(core.$theme, --focus, --border), 'color') !default; +$key-focus--outline-color: props.def(--o-tabbar--key-focus--outline-color, props.get(core.$theme, --focus, --outline), 'color') !default; -- cgit v1.2.3-70-g09d2