@mixin eui-compact-get-tokens($ratio: 0.875) {
    --eui-compact-ratio: #{$ratio};
    @each $spacing, $value in $eui-base-tokens-spacings {
        --eui-base-spacing-#{$spacing}: calc( #{var(--eui-compact-ratio)} * #{$value} );
    }
}
