From 2078d67732ffc412549442b1e55f250212f019ff Mon Sep 17 00:00:00 2001 From: Melissa Thompson Date: Tue, 7 Nov 2023 15:48:07 -0500 Subject: [PATCH] chore(tokens): tooltip animation distance custom tokens for desktop/mobile --- components/tokens/custom-spectrum/custom-large-vars.css | 2 ++ components/tokens/custom-spectrum/custom-medium-vars.css | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/tokens/custom-spectrum/custom-large-vars.css b/components/tokens/custom-spectrum/custom-large-vars.css index 847412d4196..6df1643d901 100644 --- a/components/tokens/custom-spectrum/custom-large-vars.css +++ b/components/tokens/custom-spectrum/custom-large-vars.css @@ -118,4 +118,6 @@ governing permissions and limitations under the License. --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs); --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xxs); --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs); + + --spectrum-tooltip-animation-distance: 5px; } diff --git a/components/tokens/custom-spectrum/custom-medium-vars.css b/components/tokens/custom-spectrum/custom-medium-vars.css index dbdf20f81ae..e99d7e3dad4 100644 --- a/components/tokens/custom-spectrum/custom-medium-vars.css +++ b/components/tokens/custom-spectrum/custom-medium-vars.css @@ -117,4 +117,6 @@ governing permissions and limitations under the License. --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs); --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xs); --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s); + + --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75); }