"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var Checkbox_theme_exports = {};
__export(Checkbox_theme_exports, {
  default: () => Checkbox_theme_default
});
module.exports = __toCommonJS(Checkbox_theme_exports);
const Checkbox = ({ spacing, colors, borders, radii, fontSizes }) => ({
  size: 24,
  margin: {
    right: spacing.xxsmall
  },
  border: {
    width: borders.medium,
    radius: radii.xsmall
  },
  label: {
    padding: {
      left: spacing.xxsmall
    },
    font: {
      size: fontSizes.medium,
      color: colors.text.primary
    }
  },
  helper: {
    margin: {
      top: spacing.xxxsmall
    },
    font: {
      size: fontSizes.small,
      color: colors.text.secondary
    }
  },
  hover: {
    border: {
      radius: radii.circle
    }
  },
  checked: {
    icon: {
      color: colors.white
    }
  },
  disabled: {
    backgroundColor: colors.elements.lineAndBorders,
    border: {
      color: colors.elements.lineAndBorders
    }
  }
});
var Checkbox_theme_default = Checkbox;
