/*!
 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.k-badge {

    &.k-badge-secondary {
        .fill(
            @badge-secondary-text,
            @badge-secondary-bg,
            @badge-secondary-border
        );
    }

    &.k-badge-primary {
        .fill(
            @badge-primary-text,
            @badge-primary-bg,
            @badge-primary-border
        );
    }

    &.k-badge-info {
        .fill(
            @badge-info-text,
            @badge-info-bg,
            @badge-info-border
        );
    }

    &.k-badge-success {
        .fill(
            @badge-success-text,
            @badge-success-bg,
            @badge-success-border
        );
    }

    &.k-badge-warning {
        .fill(
            @badge-warning-text,
            @badge-warning-bg,
            @badge-warning-border
        );
    }

    &.k-badge-error {
        .fill(
            @badge-error-text,
            @badge-error-bg,
            @badge-error-border
        );
    }

}

.k-badge-outline {

    &.k-badge-secondary {
        .fill(
            @badge-secondary-text,
            @background,
            currentColor
        );
    }

    &.k-badge-primary {
        .fill(
            @badge-primary-bg,
            @background,
            currentColor
        );
    }

    &.k-badge-info {
        .fill(
            @badge-info-bg,
            @background,
            currentColor
        );
    }

    &.k-badge-success {
        .fill(
            @badge-success-bg,
            @background,
            currentColor
        );
    }

    &.k-badge-warning {
        .fill(
            @badge-warning-bg,
            @background,
            currentColor
        );
    }

    &.k-badge-error {
        .fill(
            @badge-error-bg,
            @background,
            currentColor
        );
    }

}
