diff options
| author | Volpeon <git@volpeon.ink> | 2026-07-22 13:00:59 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-07-22 13:00:59 +0200 |
| commit | aeed08dc46662a0d70e04bcea612a701633736e7 (patch) | |
| tree | a4077017d3519185ccd9ea08955fccdd737ffe17 /src/objects/_tabbar.vars.scss | |
| parent | Paths (diff) | |
| download | iro-design-aeed08dc46662a0d70e04bcea612a701633736e7.tar.gz iro-design-aeed08dc46662a0d70e04bcea612a701633736e7.tar.bz2 iro-design-aeed08dc46662a0d70e04bcea612a701633736e7.zip | |
Revert "Paths"
This reverts commit cc5329a5f4d3ea91cac93bc7f9b8f943b7ced226.
Diffstat (limited to 'src/objects/_tabbar.vars.scss')
| -rw-r--r-- | src/objects/_tabbar.vars.scss | 76 |
1 files changed, 18 insertions, 58 deletions
diff --git a/src/objects/_tabbar.vars.scss b/src/objects/_tabbar.vars.scss index d26f302..d9cc53e 100644 --- a/src/objects/_tabbar.vars.scss +++ b/src/objects/_tabbar.vars.scss | |||
| @@ -1,66 +1,26 @@ | |||
| 1 | @use "sass:map"; | 1 | @use 'sass:map'; |
| 2 | @use "sass:string"; | 2 | @use 'sass:string'; |
| 3 | @use "pkg:iro-sass/props"; | 3 | @use 'pkg:iro-sass/src/props'; |
| 4 | @use "../core.vars" as core; | 4 | @use '../core.vars' as core; |
| 5 | 5 | ||
| 6 | $block-size: props.def(--o-tabbar--block-size, props.get(core.$size--700)) !default; | 6 | $block-size: props.def(--o-tabbar--block-size, props.get(core.$size--700)) !default; |
| 7 | $rounding: props.def(--o-tabbar--rounding, props.get(core.$rounding--sm)) !default; | 7 | $rounding: props.def(--o-tabbar--rounding, props.get(core.$rounding--sm)) !default; |
| 8 | $spacing: props.def(--o-tabbar--spacing, props.get(core.$size--400)) !default; | 8 | $spacing: props.def(--o-tabbar--spacing, props.get(core.$size--400)) !default; |
| 9 | $tab--pad-i: props.def(--o-tabbar--tab--pad-i, props.get(core.$size--50)) !default; | 9 | $tab--pad-i: props.def(--o-tabbar--tab--pad-i, props.get(core.$size--50)) !default; |
| 10 | 10 | ||
| 11 | $border--width: props.def(--o-tabbar--border--width, props.get(core.$border-width--thin)) !default; | 11 | $border--width: props.def(--o-tabbar--border--width, props.get(core.$border-width--thin)) !default; |
| 12 | $indicator--width: props.def( | 12 | $indicator--width: props.def(--o-tabbar--indicator--width, props.get(core.$border-width--medium)) !default; |
| 13 | --o-tabbar--indicator--width, | ||
| 14 | props.get(core.$border-width--medium) | ||
| 15 | ) !default; | ||
| 16 | 13 | ||
| 17 | $key-focus--border-width: props.def( | 14 | $key-focus--border-width: props.def(--o-tabbar--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; |
| 18 | --o-tabbar--key-focus--border-width, | 15 | $key-focus--border-offset: props.def(--o-tabbar--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; |
| 19 | props.get(core.$key-focus--border-width) | 16 | $key-focus--outline-width: props.def(--o-tabbar--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; |
| 20 | ) !default; | ||
| 21 | $key-focus--border-offset: props.def( | ||
| 22 | --o-tabbar--key-focus--border-offset, | ||
| 23 | props.get(core.$key-focus--border-offset) | ||
| 24 | ) !default; | ||
| 25 | $key-focus--outline-width: props.def( | ||
| 26 | --o-tabbar--key-focus--outline-width, | ||
| 27 | props.get(core.$key-focus--outline-width) | ||
| 28 | ) !default; | ||
| 29 | 17 | ||
| 30 | $tab--text-color: props.def( | 18 | $tab--text-color: props.def(--o-tabbar--tab--text-color, props.get(core.$theme, --text-mute), 'color') !default; |
| 31 | --o-tabbar--tab--text-color, | 19 | $tab--selected--text-color: props.def(--o-tabbar--tab--selected--text-color, props.get(core.$theme, --heading), 'color') !default; |
| 32 | props.get(core.$theme, --text-mute), | 20 | $tab--accent--text-color: props.def(--o-tabbar--tab--accent--text-color, props.get(core.$theme, --accent, --1100), 'color') !default; |
| 33 | "color" | ||
| 34 | ) !default; | ||
| 35 | $tab--selected--text-color: props.def( | ||
| 36 | --o-tabbar--tab--selected--text-color, | ||
| 37 | props.get(core.$theme, --heading), | ||
| 38 | "color" | ||
| 39 | ) !default; | ||
| 40 | $tab--accent--text-color: props.def( | ||
| 41 | --o-tabbar--tab--accent--text-color, | ||
| 42 | props.get(core.$theme, --accent, --1100), | ||
| 43 | "color" | ||
| 44 | ) !default; | ||
| 45 | 21 | ||
| 46 | $railing--bg-color: props.def( | 22 | $railing--bg-color: props.def(--o-tabbar--railing--bg-color, props.get(core.$theme, --border-mute), 'color') !default; |
| 47 | --o-tabbar--railing--bg-color, | ||
| 48 | props.get(core.$theme, --border-mute), | ||
| 49 | "color" | ||
| 50 | ) !default; | ||
| 51 | 23 | ||
| 52 | $key-focus--text-color: props.def( | 24 | $key-focus--text-color: props.def(--o-tabbar--key-focus--text-color, props.get(core.$theme, --focus, --text), 'color') !default; |
| 53 | --o-tabbar--key-focus--text-color, | 25 | $key-focus--border-color: props.def(--o-tabbar--key-focus--border-color, props.get(core.$theme, --focus, --border), 'color') !default; |
| 54 | props.get(core.$theme, --focus, --text), | 26 | $key-focus--outline-color: props.def(--o-tabbar--key-focus--outline-color, props.get(core.$theme, --focus, --outline), 'color') !default; |
| 55 | "color" | ||
| 56 | ) !default; | ||
| 57 | $key-focus--border-color: props.def( | ||
| 58 | --o-tabbar--key-focus--border-color, | ||
| 59 | props.get(core.$theme, --focus, --border), | ||
| 60 | "color" | ||
| 61 | ) !default; | ||
| 62 | $key-focus--outline-color: props.def( | ||
| 63 | --o-tabbar--key-focus--outline-color, | ||
| 64 | props.get(core.$theme, --focus, --outline), | ||
| 65 | "color" | ||
| 66 | ) !default; | ||
