import { cnb } from "cnbuilder";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-switch");
/**
 * NOTE: This has to be `switchStyles` do to `switch` being a reserved keyword
 *
 * @since 6.0.0
 */ export function switchStyles(options = {}) {
    const { className, clickable, currentColor } = options;
    return cnb(styles({
        "current-color": currentColor,
        clickable
    }), className);
}
/**
 * @since 6.0.0
 */ export function switchTrack(options = {}) {
    const { disabled, className } = options;
    return cnb(styles("track", {
        disabled
    }), className);
}
/**
 * @since 6.0.0
 */ export function switchBall(options = {}) {
    const { active, className } = options;
    return cnb(styles("ball", {
        active
    }), className);
}

//# sourceMappingURL=switchStyles.js.map