import { isWebColor } from "./common/primitives.js";
import { validateShadowValue, COMMON_VALIDATORS } from "./common/utils.js";
import { generatePlatformRules } from "./common/constants.js";
export const WEB_VALIDATION_RULES = generatePlatformRules('web', {
    ...COMMON_VALIDATORS,
    validateBoxShadow: (value) => validateShadowValue(value, {
        allowNone: true,
        colorValidator: isWebColor,
        lengthUnits: ["px", "rem", "em"]
    })
});
//# sourceMappingURL=web.js.map