@mixin border-radius($top: 0, $bottom: 0) {
	border-top-left-radius: $top;
	border-top-right-radius: $top;
	border-bottom-right-radius: $bottom;
	border-bottom-left-radius: $bottom;
}

@mixin absolute-fill($pseudo: false) {
	@if ($pseudo) {
		content: '';
	}
	
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

@keyframes blinky {
	0%, 9%, 11%, 19%, 21%, 69%, 71%, 100% { transform: scaleY(1) }
	10%, 20%, 70% { transform: scaleY(0) }
}

@mixin position-x($val: 0) {
	--position: #{$val};

	&-left {
		left: var(--position);
	}

	&-right {
		right: var(--position);
	}
}

@mixin inset($top, $right, $bottom, $left) {
	top: $top;
	right: $right;
	bottom: $bottom;
	left: $left;
}