@mixin sw-label-variant($color-background, $color-text, $color-border, $color-border-normal) {
    background-color: $color-background;
    border-color: $color-border-normal;
    color: $color-text;

    &.sw-label--small::before {
        background: $color-border;
    }

    .sw-label__dismiss {
        color: $color-text;

        .sw-icon {
            color: $color-text;
        }
    }

    &.sw-label--ghost {
        background: transparent;
        border-color: $color-border;
    }

    &.sw-label--dismissable:hover {
        border-color: $color-border;
    }
}
