.badge-variant(@state, @bg, @color) {
	.badge-@{state} {
		color: @color;
		background-color: @bg;

		&[href] {
			&:hover,
			&:focus {
				color: @color;
				text-decoration: none;
				background-color: darken(@bg, 10%);
			}
		}
	}
}
