diff options
author | Volpeon <git@volpeon.ink> | 2024-10-19 14:46:06 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-19 14:46:06 +0200 |
commit | 3799950b0a869aee0e2725a8aafbb53c26723942 (patch) | |
tree | 9d8ee6ee3e9f963358d6463aa6114d4020a90a39 /src/objects/_side-nav.vars.scss | |
parent | Update (diff) | |
download | iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.tar.gz iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.tar.bz2 iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.zip |
Update
Diffstat (limited to 'src/objects/_side-nav.vars.scss')
-rw-r--r-- | src/objects/_side-nav.vars.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/objects/_side-nav.vars.scss b/src/objects/_side-nav.vars.scss new file mode 100644 index 0000000..08516a6 --- /dev/null +++ b/src/objects/_side-nav.vars.scss | |||
@@ -0,0 +1,28 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use '../props'; | ||
3 | @use '../core.vars' as core; | ||
4 | |||
5 | $spacing: props.def(--o-side-nav--spacing, props.get(core.$size--50)) !default; | ||
6 | $header--font-size: props.def(--o-side-nav--header--font-size, props.get(core.$size--50)) !default; | ||
7 | $separator: props.def(--o-side-nav--separator, props.get(core.$size--200)) !default; | ||
8 | |||
9 | $item--pad-i: props.def(--o-side-nav--item--pad-i, props.get(core.$size--150)) !default; | ||
10 | $item--pad-b: props.def(--o-side-nav--item--pad-b, props.get(core.$size--100)) !default; | ||
11 | $item--rounding: props.def(--o-side-nav--item--rounding, props.get(core.$rounding)) !default; | ||
12 | |||
13 | $item--key-focus--border-width: props.def(--o-side-nav--item--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; | ||
14 | $item--key-focus--border-offset: props.def(--o-side-nav--item--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; | ||
15 | $item--key-focus--outline-width: props.def(--o-side-nav--item--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; | ||
16 | |||
17 | $header--label-color: props.def(--o-side-nav--header--label-color, props.get(core.$theme, --text-mute-more)) !default; | ||
18 | |||
19 | $item--hover--bg-color: props.def(--o-side-nav--item--hover--bg-color, props.get(core.$theme, --border-mute)) !default; | ||
20 | $item--hover--label-color: props.def(--o-side-nav--item--hover--label-color, props.get(core.$theme, --heading)) !default; | ||
21 | |||
22 | $item--active--bg-color: props.def(--o-side-nav--item--active--bg-color, props.get(core.$theme, --border)) !default; | ||
23 | $item--active--label-color: props.def(--o-side-nav--item--active--label-color, props.get(core.$theme, --heading)) !default; | ||
24 | |||
25 | $item--disabled--label-color: props.def(--o-side-nav--item--disabled--label-color, props.get(core.$theme, --text-disabled)) !default; | ||
26 | |||
27 | $item--key-focus--border-color: props.def(--o-side-nav--item--key-focus--border-color, props.get(core.$theme, --focus, --border)) !default; | ||
28 | $item--key-focus--outline-color: props.def(--o-side-nav--item--key-focus--outline-color, props.get(core.$theme, --focus, --outline)) !default; | ||