adobe/spectrum-css

[Tooltip] SASS mixin overriding expected output?

Westbrook opened this issue · 0 comments

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