<commit_before>/**
 * @file IconAnchor style
 * @author liangxiaojun(<EMAIL>)
 */

@mixin icon-anchor-theme($color) {
    color: $color;
}

.icon-anchor {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    position: relative;
    transition: all $transition-duration ease-in-out;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
    overflow: hidden;
    background: transparent;

    .button-icon {
        color: inherit;
    }

    .circular-loading .spinner {
        border-color: inherit;
    }

    &[disabled] {
        color: $theme-field-disabled;
        cursor: not-allowed;
    }

    // default theme
    @include icon-anchor-theme($theme-field);

    // themes
    &.theme-primary {
        @include icon-anchor-theme($theme-primary);
    }
    &.theme-secondary {
        @include icon-anchor-theme($theme-secondary);
    }
    &.theme-highlight {
        @include icon-anchor-theme($theme-highlight);
    }
    &.theme-info {
        @include icon-anchor-theme($theme-info);
    }
    &.theme-success {
        @include icon-anchor-theme($theme-success);
    }
    &.theme-warning {
        @include icon-anchor-theme($theme-warning);
    }
    &.theme-error {
        @include icon-anchor-theme($theme-error);<commit_msg>update IconAnchor style<commit_after>/**
 * @file IconAnchor style
 * @author liangxiaojun(<EMAIL>)
 */

@mixin icon-anchor-theme($color) {
    color: $color;

    &:hover {
        color: theme-color-hover($color);
    }

    &:active {
        color: theme-color-active($color);
    }
}

.icon-anchor {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    position: relative;
    transition: all $transition-duration ease-in-out;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
    overflow: hidden;
    background-color: transparent;

    .button-icon {
        color: inherit;
    }

    .circular-loading .spinner {
        border-color: inherit;
    }

    &[disabled] {
        color: $theme-field-disabled !important;
    }

    // default theme
    @include icon-anchor-theme($theme-field);

    // themes
    &.theme-primary {
        @include icon-anchor-theme($theme-primary);
    }
    &.theme-secondary {
        @include icon-anchor-theme($theme-secondary);
    }
    &.theme-highlight {
        @include icon-anchor-theme($theme-highlight);
    }
    &.theme-info {
        @include icon-anchor-theme($theme-info);
    }
    &.theme-success {
        @include icon-anchor-theme($theme-success);
    }
    &.theme-warning {
        @include icon-anchor-theme($theme-warning);
    }
    &.theme-error {
        @include icon-anchor-theme($theme-error);
{'fraction_non_alphanumeric': 0.14707977207977208, 'fraction_numerical': 0.007122507122507123, 'mean_word_length': 2.2511574074074074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5501122', 'n_tokens_mistral': 934, 'n_tokens_neox': 893, 'n_words': 160}