summaryrefslogtreecommitdiffstats
path: root/src/objects/_tabbar.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2026-07-22 12:27:09 +0200
committerVolpeon <git@volpeon.ink>2026-07-22 12:27:09 +0200
commitcc5329a5f4d3ea91cac93bc7f9b8f943b7ced226 (patch)
treed16dea8f0a5edca2b610ecabeac5e93a4d98be2f /src/objects/_tabbar.vars.scss
parentUpdate _index.scss (diff)
downloadiro-design-master.tar.gz
iro-design-master.tar.bz2
iro-design-master.zip
Diffstat (limited to 'src/objects/_tabbar.vars.scss')
-rw-r--r--src/objects/_tabbar.vars.scss76
1 files changed, 58 insertions, 18 deletions
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 @@
1@use 'sass:map'; 1@use "sass:map";
2@use 'sass:string'; 2@use "sass:string";
3@use 'pkg:iro-sass/src/props'; 3@use "pkg:iro-sass/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(--o-tabbar--indicator--width, props.get(core.$border-width--medium)) !default; 12$indicator--width: props.def(
13 --o-tabbar--indicator--width,
14 props.get(core.$border-width--medium)
15) !default;
13 16
14$key-focus--border-width: props.def(--o-tabbar--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; 17$key-focus--border-width: props.def(
15$key-focus--border-offset: props.def(--o-tabbar--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; 18 --o-tabbar--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; 19 props.get(core.$key-focus--border-width)
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;
17 29
18$tab--text-color: props.def(--o-tabbar--tab--text-color, props.get(core.$theme, --text-mute), 'color') !default; 30$tab--text-color: props.def(
19$tab--selected--text-color: props.def(--o-tabbar--tab--selected--text-color, props.get(core.$theme, --heading), 'color') !default; 31 --o-tabbar--tab--text-color,
20$tab--accent--text-color: props.def(--o-tabbar--tab--accent--text-color, props.get(core.$theme, --accent, --1100), 'color') !default; 32 props.get(core.$theme, --text-mute),
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;
21 45
22$railing--bg-color: props.def(--o-tabbar--railing--bg-color, props.get(core.$theme, --border-mute), 'color') !default; 46$railing--bg-color: props.def(
47 --o-tabbar--railing--bg-color,
48 props.get(core.$theme, --border-mute),
49 "color"
50) !default;
23 51
24$key-focus--text-color: props.def(--o-tabbar--key-focus--text-color, props.get(core.$theme, --focus, --text), 'color') !default; 52$key-focus--text-color: props.def(
25$key-focus--border-color: props.def(--o-tabbar--key-focus--border-color, props.get(core.$theme, --focus, --border), 'color') !default; 53 --o-tabbar--key-focus--text-color,
26$key-focus--outline-color: props.def(--o-tabbar--key-focus--outline-color, props.get(core.$theme, --focus, --outline), 'color') !default; 54 props.get(core.$theme, --focus, --text),
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;