Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
import { emptyStateAnatomy } from "../../anatomy"
import { defineSlotRecipe } from "../../styled-system"
export const emptyStateSlotRecipe = defineSlotRecipe({
slots: emptyStateAnatomy.keys(),
className: "chakra-empty-state",
base: {
root: {
width: "full",
},
content: {
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
},
indicator: {
display: "flex",
alignItems: "center",
justifyContent: "center",
color: "fg.subtle",
_icon: {
boxSize: "1em",
},
},
title: {
fontWeight: "semibold",
},
description: {
textStyle: "sm",
color: "fg.muted",
},
},
variants: {
size: {
sm: {
root: {
px: "4",
py: "6",
},
title: {
textStyle: "md",
},
content: {
gap: "4",
},
indicator: {
textStyle: "2xl",
},
},
md: {
root: {
px: "8",
py: "12",
},
title: {
textStyle: "lg",
},
content: {
gap: "6",
},
indicator: {
textStyle: "4xl",
},
},
lg: {
root: {
px: "12",
py: "16",
},
title: {
textStyle: "xl",
},
content: {
gap: "8",
},
indicator: {
textStyle: "6xl",
},
},
},
},
defaultVariants: {
size: "md",
},
})