<commit_before>$_buttonHeight: 36px;

%buttonPersonality {
	@include user-select(none);
	cursor: pointer;
	text-decoration: none !important;
}

%_button_base,
%buttonBase {
	@extend %buttonPersonality;
	@include display(inline-flex);
	@include flex-direction(column);
	@include justify-content(center);
	@include align-items(center);
	@include transition(background .15s);
	box-sizing: border-box;
	-webkit-appearance: none;
	border-radius: $defaultRadius;
	background: transparent;
	font-size: $font-size;
	font-weight: $W_bold;
	min-height: $_buttonHeight;
	outline: 0;
	padding: 0 $font-size;
	vertical-align: middle;
	line-height: 1; // :sq1 convention:
	margin-bottom: $font-size; // :sq1 convention:

	&,
	&:link,
	&:active,
	&:hover,
	&:visited {
		color: $C_textPrimary;
	}

	border: 1px solid $C_border;
	.inverted & {
		border: 1px solid $C_borderInverted;
	}
}

@mixin buttonHover($bgColor: $C_textPrimary) {
	&:hover,
	&:focus {
		background: transparentize($bgColor, .8);
		border-color: transparent;
	}

	&:active {
		background: transparentize($bgColor, .75);
		border-color: transparent;
	}
}

@mixin buttonColor($bgColor: $C_button) {
	@include color-all(getPrimaryTextColor($bgColor), true);
	background: $bgColor;
	border-color: $bgColor;

	&:hover,
	&:focus {
		background: darken($bgColor, 8%);
		border-color: darken($bgColor, 8%);
	}

	&:active {
		background: darken($bgColor, 12%);
		border-color: darken($bgColor, 12%);
	}
}<commit_msg>`lol` argument to support legacy buttonColor mixin use<commit_after>$_buttonHeight: 36px;

%buttonPersonality {
	@include user-select(none);
	cursor: pointer;
	text-decoration: none !important;
}

%_button_base,
%buttonBase {
	@extend %buttonPersonality;
	@include display(inline-flex);
	@include flex-direction(column);
	@include justify-content(center);
	@include align-items(center);
	@include transition(background .15s);
	box-sizing: border-box;
	-webkit-appearance: none;
	border-radius: $defaultRadius;
	background: transparent;
	font-size: $font-size;
	font-weight: $W_bold;
	min-height: $_buttonHeight;
	outline: 0;
	padding: 0 $font-size;
	vertical-align: middle;
	line-height: 1; // :sq1 convention:
	margin-bottom: $font-size; // :sq1 convention:

	&,
	&:link,
	&:active,
	&:hover,
	&:visited {
		color: $C_textPrimary;
	}

	border: 1px solid $C_border;
	.inverted & {
		border: 1px solid $C_borderInverted;
	}
}

@mixin buttonHover($bgColor: $C_textPrimary) {
	&:hover,
	&:focus {
		background: transparentize($bgColor, .8);
		border-color: transparent;
	}

	&:active {
		background: transparentize($bgColor, .75);
		border-color: transparent;
	}
}

// second argument exists only to support legacy use of mixin
@mixin buttonColor($bgColor: $C_button, $lol: None) {
	@include color-all(getPrimaryTextColor($bgColor), true);
	background: $bgColor;
	border-color: $bgColor;

	&:hover,
	&:focus {
		background: darken($bgColor, 8%);
		border-color: darken($bgColor, 8%);
	}

	&:active {
		background: darken($bgColor, 12%);
		border-color: darken($bgColor, 12%);
	}
}
{'fraction_non_alphanumeric': 0.15827574860151367, 'fraction_numerical': 0.013162224415926292, 'mean_word_length': 5.067864271457085, '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': '6412451', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1121, 'n_words': 239}