summaryrefslogtreecommitdiffstats
path: root/src/objects/_side-nav.vars.scss
blob: 122dba63580b9141cbcff070569abca5d768b888 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@use 'sass:map';
@use 'iro-sass/src/props';
@use '../core.vars' as core;

$spacing:           props.def(--o-side-nav--spacing, props.get(core.$size--50)) !default;
$header--font-size: props.def(--o-side-nav--header--font-size, props.get(core.$font-size--50)) !default;
$separator:         props.def(--o-side-nav--separator, props.get(core.$size--200)) !default;

$item--pad-i:         props.def(--o-side-nav--item--pad-i, props.get(core.$size--150)) !default;
$item--pad-b:         props.def(--o-side-nav--item--pad-b, props.get(core.$size--100)) !default;
$item--rounding:      props.def(--o-side-nav--item--rounding, props.get(core.$rounding)) !default;

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

$header--label-color: props.def(--o-side-nav--header--label-color, props.get(core.$theme, --text-mute-more), 'color') !default;

$item--hover--bg-color:    props.def(--o-side-nav--item--hover--bg-color, props.get(core.$theme, --border-mute), 'color') !default;
$item--hover--label-color: props.def(--o-side-nav--item--hover--label-color, props.get(core.$theme, --heading), 'color') !default;

$item--active--bg-color:    props.def(--o-side-nav--item--active--bg-color, props.get(core.$theme, --border), 'color') !default;
$item--active--label-color: props.def(--o-side-nav--item--active--label-color, props.get(core.$theme, --heading), 'color') !default;

$item--disabled--label-color: props.def(--o-side-nav--item--disabled--label-color, props.get(core.$theme, --text-disabled), 'color') !default;

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