"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 Snackbar_theme_exports = {};
__export(Snackbar_theme_exports, {
  default: () => Snackbar_theme_default
});
module.exports = __toCommonJS(Snackbar_theme_exports);
var import_yoga_icons = require("@gympass/yoga-icons");
const Snackbar = ({ colors, elevations, radii, spacing }) => ({
  border: {
    radius: radii.small
  },
  height: {
    min: spacing.xxxlarge,
    max: spacing.huge
  },
  padding: {
    default: spacing.small,
    vertical: spacing.xsmall,
    horizontal: spacing.small
  },
  position: {
    desktop: {
      bottom: spacing.xxlarge,
      right: spacing.xxlarge
    },
    mobile: {
      bottom: spacing.small,
      right: spacing.small,
      left: spacing.small
    }
  },
  shadow: {
    default: elevations.small
  },
  variant: {
    color: {
      success: colors.feedback.success.light,
      failure: colors.feedback.attention.light,
      info: colors.feedback.informative.light,
      attention: colors.feedback.attention.light,
      informative: colors.feedback.informative.light
    },
    icon: {
      success: import_yoga_icons.CheckedFull,
      failure: import_yoga_icons.AlertTriangle,
      info: import_yoga_icons.Info
    }
  },
  minWidth: {
    desktop: 400,
    mobile: 320
  },
  maxWidth: {
    default: 600
  },
  margin: {
    top: spacing.zero,
    right: spacing.medium,
    bottom: spacing.medium,
    left: spacing.medium,
    horizontal: spacing.medium
  }
});
var Snackbar_theme_default = Snackbar;
