@use 'function';

/* Button 按钮
------------------------------- */
@mixin Button($main, $c1, $c2) {
	color: function.set-color($main);
	background: function.set-color($c1);
	border-color: function.set-color($c2);
}

/* Radio 单选框、Checkbox 多选框
------------------------------- */
@mixin RadioCheckbox($name) {
	background-color: function.set-color($name);
	border-color: function.set-color($name);
}

/* Tag 标签
------------------------------- */
@mixin Tag($main, $c1, $c2) {
	color: function.set-color($main);
	background-color: function.set-color($c1);
	border-color: function.set-color($c2);
}
@mixin TagDark($main, $c1) {
	color: function.set-color($main);
	background-color: function.set-color($c1);
}

/* Alert 警告
------------------------------- */
@mixin Alert($main, $c1, $c2) {
	color: function.set-color($main);
	background: function.set-color($c1);
	border: 1px solid function.set-color($c2);
}
