@use "@theholocron/config/src" as config;
@use "@theholocron/css-syntaxes/src" as syntaxes;
@use "../utils";

/// The opacity property
/// @since 0.1.0
/// @link https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
/// @param {String} $className ["opacity"] - a CSS class name that will prefix all helpers
/// @param {Map} $breakpoints [config.$breakpoints] - a map of grid breakpoints
/// @example scss
///   @include opacity($className: d, $breakpoints: ("sm": 480px));
@mixin opacity($className: "opacity", $breakpoints: config.$breakpoints) {
	@include utils.responsive-properties-map($properties: config.$opacities, $property: "opacity", $className: $className, $breakpoints: $breakpoints);
	@include utils.responsive-syntaxes-list($syntaxes: syntaxes.$opacity, $property: "opacity", $className: $className, $breakpoints: $breakpoints);
}
