const Card = ({
  colors,
  spacing,
  radii,
  elevations,
  borders,
  fontWeights,
  fontSizes
}) => ({
  backgroundColor: colors.white,
  padding: {
    top: spacing.small,
    right: spacing.small,
    bottom: spacing.small,
    left: spacing.small
  },
  radii: radii.small,
  elevation: elevations.small,
  ribbon: {
    radius: radii.circle
  },
  plan: {
    padding: {
      top: spacing.xxxlarge,
      right: spacing.large,
      bottom: spacing.large,
      left: spacing.large
    },
    radius: 16,
    tag: {
      position: {
        top: spacing.large,
        left: spacing.large
      }
    },
    subtitle: {
      margin: {
        bottom: spacing.xxsmall
      },
      font: {
        color: colors.text.secondary,
        weight: fontWeights.medium,
        size: fontSizes.xsmall
      }
    },
    title: {
      color: colors.text.primary
    },
    description: {
      color: colors.text.secondary
    },
    price: {
      currency: {
        margin: {
          right: spacing.xxxsmall
        }
      },
      margin: {
        top: spacing.xxsmall
      }
    },
    list: {
      item: {
        margin: {
          bottom: spacing.small
        },
        font: {
          color: colors.text.primary
        }
      },
      button: {
        font: {
          color: colors.secondary,
          size: fontSizes.xsmall,
          weight: fontWeights.medium
        },
        margin: {
          top: spacing.xsmall
        }
      }
    },
    actions: {
      buttonText: {
        margin: {
          bottom: spacing.zero
        }
      }
    }
  },
  gym: {
    checkIn: {
      header: {
        margin: {
          bottom: spacing.small
        }
      },
      avatar: {
        border: {
          radius: radii.small,
          width: borders.small
        }
      },
      content: {
        margin: {
          top: spacing.small
        }
      },
      title: {
        font: {
          weight: fontWeights.regular
        },
        margin: {
          bottom: spacing.xxsmall
        }
      }
    }
  },
  event: {
    icon: {
      fill: colors.text.primary
    },
    info: {
      padding: {
        top: spacing.small,
        right: spacing.small,
        left: spacing.small,
        bottom: spacing.small
      },
      name: {
        height: spacing.medium,
        fontWeight: fontWeights.medium,
        fontSize: fontSizes.medium,
        marginBottom: spacing.xxsmall
      },
      place: {
        height: spacing.medium,
        color: colors.text.secondary,
        marginBottom: spacing.xxsmall
      }
    },
    date: {
      backgroundColor: colors.primary,
      radius: radii.small,
      dayOfWeek: {
        fontWeight: fontWeights.regular,
        marginBottom: spacing.xxsmall
      },
      month: {
        fontWeight: fontWeights.medium
      }
    }
  }
});
var Card_theme_default = Card;
export {
  Card_theme_default as default
};
