Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tooltip] SASS mixin overriding expected output? #2156

Open
Westbrook opened this issue Sep 8, 2023 · 0 comments
Open

[Tooltip] SASS mixin overriding expected output? #2156

Westbrook opened this issue Sep 8, 2023 · 0 comments
Assignees

Comments

@Westbrook
Copy link
Contributor

Would you expect this value:

--spectrum-tooltip-animation-distance: var(--spectrum-spacing-75);

Or this value: https://unpkg.com/browse/@spectrum-css/tooltip@5.1.11/dist/index-vars.css#L14

image

To be the delivered value of --spectrum-overlay-animation-distance?

It seems like the @inherit: %spectrum-overlay; in @import "../commons/overlay-coretokens.css"; is normalizing this value in a way that is not expected.

What's more, it seems like the non-mixin value is applied in the docs site, which is even more confusing:

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants