Skip to content

Commit 5ca4966

Browse files
Melissa Thompsonpfulton
authored andcommitted
chore(tokens): tooltip animation distance custom tokens for desktop/mobile
1 parent 2c184ad commit 5ca4966

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

components/tokens/custom-spectrum/custom-large-vars.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,6 @@ governing permissions and limitations under the License.
118118
--spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs);
119119
--spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xxs);
120120
--spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs);
121+
122+
--spectrum-tooltip-animation-distance: 5px;
121123
}

components/tokens/custom-spectrum/custom-medium-vars.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,6 @@ governing permissions and limitations under the License.
117117
--spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs);
118118
--spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xs);
119119
--spectrum-assetcard-content-font-size: var(--spectrum-body-size-s);
120+
121+
--spectrum-tooltip-animation-distance: var(--spectrum-spacing-75);
120122
}

0 commit comments

Comments
 (0)