@use "vars";
@use "button-mixins" as button;
@use "elevation" as *;

:root {
    --focus-color: #{vars.palette-of(shadow-focus)};

    .isMac {
        --focus-color: rgba(0 103 244 / 0.247);
    }
}

.isWin {
    button {
        font-size: 12px;
    }
}

.isMac {
    button {
        font-size: 13px;
    }
}

button {
    outline: none !important;
    @include button.base;
    border-radius: var(--border-radius-large);
    padding: 8px 10px;
    font-weight: 500;
    margin: 0 4px;

    @include elevation(1, $opacity-boost: -0.08);
    &:hover {
        @include elevation(2);
        transition: box-shadow 0.2s linear;
    }
}
