diff options
author | Volpeon <git@volpeon.ink> | 2024-10-25 19:37:52 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-25 19:37:52 +0200 |
commit | e0815613914e16d73a30efe709a74b994cc31963 (patch) | |
tree | 9876cb3b6937173fd4dd62958d5c9d1ba6feea87 /src/objects/_menu.vars.scss | |
parent | New palette generation (diff) | |
download | iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.gz iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.bz2 iro-design-e0815613914e16d73a30efe709a74b994cc31963.zip |
More efficient theming
Diffstat (limited to 'src/objects/_menu.vars.scss')
-rw-r--r-- | src/objects/_menu.vars.scss | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/objects/_menu.vars.scss b/src/objects/_menu.vars.scss index 999f2d3..d242a1f 100644 --- a/src/objects/_menu.vars.scss +++ b/src/objects/_menu.vars.scss | |||
@@ -14,16 +14,16 @@ $item--key-focus--border-width: props.def(--o-menu--item--key-focus--border-wid | |||
14 | $item--key-focus--border-offset: props.def(--o-menu--item--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !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; | 15 | $item--key-focus--outline-width: props.def(--o-menu--item--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; |
16 | 16 | ||
17 | $separator-color: props.def(--o-menu--separator-color, props.get(core.$theme, --border)) !default; | 17 | $separator-color: props.def(--o-menu--separator-color, props.get(core.$theme, --border), 'color') !default; |
18 | $header--label-color: props.def(--o-menu--header--label-color, props.get(core.$theme, --heading)) !default; | 18 | $header--label-color: props.def(--o-menu--header--label-color, props.get(core.$theme, --heading), 'color') !default; |
19 | 19 | ||
20 | $item--hover--bg-color: props.def(--o-menu--item--hover--bg-color, props.get(core.$theme, --border-mute)) !default; | 20 | $item--hover--bg-color: props.def(--o-menu--item--hover--bg-color, props.get(core.$theme, --border-mute), 'color') !default; |
21 | $item--hover--label-color: props.def(--o-menu--item--hover--label-color, props.get(core.$theme, --heading)) !default; | 21 | $item--hover--label-color: props.def(--o-menu--item--hover--label-color, props.get(core.$theme, --heading), 'color') !default; |
22 | 22 | ||
23 | $item--active--bg-color: props.def(--o-menu--item--active--bg-color, props.get(core.$theme, --border)) !default; | 23 | $item--active--bg-color: props.def(--o-menu--item--active--bg-color, props.get(core.$theme, --border), 'color') !default; |
24 | $item--active--label-color: props.def(--o-menu--item--active--label-color, props.get(core.$theme, --heading)) !default; | 24 | $item--active--label-color: props.def(--o-menu--item--active--label-color, props.get(core.$theme, --heading), 'color') !default; |
25 | 25 | ||
26 | $item--disabled--label-color: props.def(--o-menu--item--disabled--label-color, props.get(core.$theme, --text-disabled)) !default; | 26 | $item--disabled--label-color: props.def(--o-menu--item--disabled--label-color, props.get(core.$theme, --text-disabled), 'color') !default; |
27 | 27 | ||
28 | $item--key-focus--border-color: props.def(--o-menu--item--key-focus--border-color, props.get(core.$theme, --focus, --border)) !default; | 28 | $item--key-focus--border-color: props.def(--o-menu--item--key-focus--border-color, props.get(core.$theme, --focus, --border), 'color') !default; |
29 | $item--key-focus--outline-color: props.def(--o-menu--item--key-focus--outline-color, props.get(core.$theme, --focus, --outline)) !default; | 29 | $item--key-focus--outline-color: props.def(--o-menu--item--key-focus--outline-color, props.get(core.$theme, --focus, --outline), 'color') !default; |