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/_menu.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/_menu.vars.scss')
-rw-r--r-- | src/objects/_menu.vars.scss | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/objects/_menu.vars.scss b/src/objects/_menu.vars.scss new file mode 100644 index 0000000..74a9f8a --- /dev/null +++ b/src/objects/_menu.vars.scss | |||
@@ -0,0 +1,29 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use '../props'; | ||
3 | @use '../core.vars' as core; | ||
4 | |||
5 | $spacing: props.def(--o-menu--spacing, 0em) !default; | ||
6 | $header--font-size: props.def(--o-menu--header--font-size, props.get(core.$font-size--50)) !default; | ||
7 | $separator-width: props.def(--o-menu--separator-width, props.get(core.$size--100)) !default; | ||
8 | |||
9 | $item--pad-i: props.def(--o-menu--item--pad-i, props.get(core.$size--150)) !default; | ||
10 | $item--pad-b: props.def(--o-menu--item--pad-b, props.get(core.$size--100)) !default; | ||
11 | $item--rounding: props.def(--o-menu--item--pad-b, props.get(core.$rounding)) !default; | ||
12 | |||
13 | $item--key-focus--border-width: props.def(--o-menu--item--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; | ||
14 | $item--key-focus--border-offset: props.def(--o-menu--item--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; | ||
15 | $item--key-focus--outline-width: props.def(--o-menu--item--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; | ||
16 | |||
17 | $separator-color: props.def(--o-menu--separator-color, props.get(core.$theme, --border)) !default; | ||
18 | $header--label-color: props.def(--o-menu--header--label-color, props.get(core.$theme, --heading)) !default; | ||
19 | |||
20 | $item--hover--bg-color: props.def(--o-menu--item--hover--bg-color, props.get(core.$theme, --border-mute)) !default; | ||
21 | $item--hover--label-color: props.def(--o-menu--item--hover--label-color, props.get(core.$theme, --heading)) !default; | ||
22 | |||
23 | $item--active--bg-color: props.def(--o-menu--item--active--bg-color, props.get(core.$theme, --border)) !default; | ||
24 | $item--active--label-color: props.def(--o-menu--item--active--label-color, props.get(core.$theme, --heading)) !default; | ||
25 | |||
26 | $item--disabled--label-color: props.def(--o-menu--item--disabled--label-color, props.get(core.$theme, --text-disabled)) !default; | ||
27 | |||
28 | $item--key-focus--border-color: props.def(--o-menu--item--key-focus--border-color, props.get(core.$theme, --focus, --border)) !default; | ||
29 | $item--key-focus--outline-color: props.def(--o-menu--item--key-focus--outline-color, props.get(core.$theme, --focus, --outline)) !default; | ||