summaryrefslogtreecommitdiffstats
path: root/src/objects/_tabs.vars.scss
blob: 620228acf2e50120306c059ea2fa5b72a5af0924 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@use 'sass:map';
@use 'sass:string';
@use 'iro-sass/src/props';
@use '../core.vars' as core;

$rounding:   props.def(--o-tabs--rounding, props.get(core.$rounding)) !default;
$spacing:    props.def(--o-tabs--spacing, props.get(core.$size--400)) !default;
$tab--pad-i: props.def(--o-tabs--tab--pad-i, props.get(core.$size--50)) !default;

$indicator--width: props.def(--o-tabs--indicator--width, props.get(core.$border-width--medium)) !default; 

$key-focus--border-width:  props.def(--o-tabs--key-focus--border-width, props.get(core.$key-focus--border-width)) !default;
$key-focus--border-offset: props.def(--o-tabs--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default;
$key-focus--outline-width: props.def(--o-tabs--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default;

$tab--text-color:           props.def(--o-tabs--tab--text-color, props.get(core.$theme, --text-mute), 'color') !default;
$tab--selected--text-color: props.def(--o-tabs--tab--selected--text-color, props.get(core.$theme, --heading), 'color') !default;
$tab--accent--text-color:   props.def(--o-tabs--tab--accent--text-color, props.get(core.$theme, --accent, --1100), 'color') !default;

$key-focus--text-color:    props.def(--o-tabs--key-focus--text-color, props.get(core.$theme, --focus, --text), 'color') !default;
$key-focus--border-color:  props.def(--o-tabs--key-focus--border-color, props.get(core.$theme, --focus, --border), 'color') !default;
$key-focus--outline-color: props.def(--o-tabs--key-focus--outline-color, props.get(core.$theme, --focus, --outline), 'color') !default;