From 20628fa65e29ec7728103d2d9d869703657bc3d8 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 84e5ea5a5e7..c683258d8cc 100644 --- a/components/tokens/custom-spectrum/custom-large-vars.css +++ b/components/tokens/custom-spectrum/custom-large-vars.css @@ -117,4 +117,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 92f8d639c84..c0697318232 100644 --- a/components/tokens/custom-spectrum/custom-medium-vars.css +++ b/components/tokens/custom-spectrum/custom-medium-vars.css @@ -116,4 +116,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); }