Skip to content

Commit a5fd388

Browse files
committed
fix(contextual-help): remove unnecessary custom properties
1 parent 19cd11b commit a5fd388

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

components/contextualhelp/dist/metadata.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@
5151
"--spectrum-body-color",
5252
"--spectrum-body-sans-serif-font-style",
5353
"--spectrum-body-sans-serif-font-weight",
54-
"--spectrum-component-to-menu-large",
55-
"--spectrum-component-to-menu-medium",
5654
"--spectrum-corner-radius-large-default",
5755
"--spectrum-line-height-200",
58-
"--spectrum-picker-popover-animation-distance",
5956
"--spectrum-sans-font-family-stack",
6057
"--spectrum-spacing-100",
6158
"--spectrum-spacing-300",

components/contextualhelp/index.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
--spectrum-contextual-help-border-radius: var(--mod-popover-corner-radius);
3434

3535
/* @passthrough start */
36-
/* stylelint-disable-next-line spectrum-tools/no-unused-custom-properties -- used to assign Popover mods */
37-
--spectrum-picker-popover-animation-distance: var(--spectrum-component-to-menu-medium);
38-
3936
--mod-popover-animation-distance: var(--spectrum-spacing-100);
4037
--mod-popover-corner-radius: var(--spectrum-corner-radius-large-default);
4138
/* @passthrough end */
@@ -51,9 +48,6 @@
5148
}
5249

5350
.spectrum-ContextualHelp-popover {
54-
/* stylelint-disable-next-line spectrum-tools/no-unused-custom-properties -- used to assign Popover mods */
55-
--spectrum-picker-popover-animation-distance: var(--spectrum-component-to-menu-large);
56-
5751
padding: var(--mod-contextual-help-padding, var(--spectrum-contextual-help-padding));
5852
font-size: var(--mod-contextual-help-body-size, var(--spectrum-contextual-help-body-size));
5953
color: var(--highcontrast-contextual-help-body-color, var(--mod-contextual-help-body-color, var(--spectrum-body-color)));

0 commit comments

Comments
 (0)