summaryrefslogtreecommitdiffstats
path: root/src/objects/_tabs.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-11-14 18:10:54 +0100
committerVolpeon <git@volpeon.ink>2024-11-14 18:10:54 +0100
commit6de1156129ed89e84d36c3b5ccd9f8cb799df790 (patch)
tree44c7b9ea96a3471174b060fe6ca28a34f3fbac95 /src/objects/_tabs.vars.scss
parentFix (diff)
downloadiro-design-6de1156129ed89e84d36c3b5ccd9f8cb799df790.tar.gz
iro-design-6de1156129ed89e84d36c3b5ccd9f8cb799df790.tar.bz2
iro-design-6de1156129ed89e84d36c3b5ccd9f8cb799df790.zip
Add tabs
Diffstat (limited to 'src/objects/_tabs.vars.scss')
-rw-r--r--src/objects/_tabs.vars.scss22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/objects/_tabs.vars.scss b/src/objects/_tabs.vars.scss
new file mode 100644
index 0000000..620228a
--- /dev/null
+++ b/src/objects/_tabs.vars.scss
@@ -0,0 +1,22 @@
1@use 'sass:map';
2@use 'sass:string';
3@use 'iro-sass/src/props';
4@use '../core.vars' as core;
5
6$rounding: props.def(--o-tabs--rounding, props.get(core.$rounding)) !default;
7$spacing: props.def(--o-tabs--spacing, props.get(core.$size--400)) !default;
8$tab--pad-i: props.def(--o-tabs--tab--pad-i, props.get(core.$size--50)) !default;
9
10$indicator--width: props.def(--o-tabs--indicator--width, props.get(core.$border-width--medium)) !default;
11
12$key-focus--border-width: props.def(--o-tabs--key-focus--border-width, props.get(core.$key-focus--border-width)) !default;
13$key-focus--border-offset: props.def(--o-tabs--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default;
14$key-focus--outline-width: props.def(--o-tabs--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default;
15
16$tab--text-color: props.def(--o-tabs--tab--text-color, props.get(core.$theme, --text-mute), 'color') !default;
17$tab--selected--text-color: props.def(--o-tabs--tab--selected--text-color, props.get(core.$theme, --heading), 'color') !default;
18$tab--accent--text-color: props.def(--o-tabs--tab--accent--text-color, props.get(core.$theme, --accent, --1100), 'color') !default;
19
20$key-focus--text-color: props.def(--o-tabs--key-focus--text-color, props.get(core.$theme, --focus, --text), 'color') !default;
21$key-focus--border-color: props.def(--o-tabs--key-focus--border-color, props.get(core.$theme, --focus, --border), 'color') !default;
22$key-focus--outline-color: props.def(--o-tabs--key-focus--outline-color, props.get(core.$theme, --focus, --outline), 'color') !default;