From cc5329a5f4d3ea91cac93bc7f9b8f943b7ced226 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 12:27:09 +0200 Subject: Paths --- src/objects/_tabbar.vars.scss | 76 +++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 18 deletions(-) (limited to 'src/objects/_tabbar.vars.scss') diff --git a/src/objects/_tabbar.vars.scss b/src/objects/_tabbar.vars.scss index d9cc53e..d26f302 100644 --- a/src/objects/_tabbar.vars.scss +++ b/src/objects/_tabbar.vars.scss @@ -1,26 +1,66 @@ -@use 'sass:map'; -@use 'sass:string'; -@use 'pkg:iro-sass/src/props'; -@use '../core.vars' as core; +@use "sass:map"; +@use "sass:string"; +@use "pkg:iro-sass/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--sm)) !default; -$spacing: props.def(--o-tabbar--spacing, props.get(core.$size--400)) !default; +$rounding: props.def(--o-tabbar--rounding, props.get(core.$rounding--sm)) !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; -$border--width: props.def(--o-tabbar--border--width, props.get(core.$border-width--thin)) !default; -$indicator--width: props.def(--o-tabbar--indicator--width, props.get(core.$border-width--medium)) !default; +$border--width: props.def(--o-tabbar--border--width, props.get(core.$border-width--thin)) !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; +$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; +$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; +$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; +$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.3.1