<commit_before>@import ../../variables/elements/button.variables

//*******************************//
//            Variations
//*******************************//

@mixin button-variant($color, $backgroundColor, $borderColor)
    $hoverBackgroundColor: darken($backgroundColor, 5%)
    $hoverColor          : lighten($color, 5%)
    
    $activeBackgroundColor: darken($backgroundColor, 20%)
    $activeColor          : darken($color, 10%)
    
    border-color    : $borderColor
    background-color: $backgroundColor
    color           : $color
    
    &:hover
        background-color: $hoverBackgroundColor
        color           : $hoverColor
        
    &:active
        background-color: $activeBackgroundColor
        color           : $activeColor

//-------------------//
//       Basic
//-------------------//

@mixin button-basic-variant($color, $backgroundColor, $borderColor)
    $activeColor: darken($backgroundColor, 30%)
    
    border: 1px solid $backgroundColor
    color : $backgroundColor
        <commit_msg>🐛 Fixed that hover on menu but hovered on Button<commit_after>@import ../../variables/elements/button.variables

//*******************************//
//            Variations
//*******************************//

@mixin button-variant($color, $backgroundColor, $borderColor)
    $hoverBackgroundColor: darken($backgroundColor, 5%)
    $hoverColor          : lighten($color, 5%)
    
    $activeBackgroundColor: darken($backgroundColor, 20%)
    $activeColor          : darken($color, 10%)
    
    border-color    : $borderColor
    background-color: $backgroundColor
    color           : $color
    
    &:not(.visible):hover
        background-color: $hoverBackgroundColor
        color           : $hoverColor
        
    &:active,
    &.visible
        background-color: $activeBackgroundColor
        color           : $activeColor

//-------------------//
//       Basic
//-------------------//

@mixin button-basic-variant($color, $backgroundColor, $borderColor)
    $activeColor: darken($backgroundColor, 30%)
    
    border: 1px solid $backgroundColor
    color : $backgroundColor
        
{'fraction_non_alphanumeric': 0.20337394564198688, 'fraction_numerical': 0.008434864104967198, 'mean_word_length': 2.2008995502248876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3379394', 'n_tokens_mistral': 568, 'n_tokens_neox': 546, 'n_words': 108}