@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
50 lines (46 loc) • 885 B
JavaScript
"use strict";
'use strict';
var anatomy = require('../../anatomy.cjs');
var config = require('../../styled-system/config.cjs');
const statusSlotRecipe = config.defineSlotRecipe({
className: "chakra-status",
slots: anatomy.statusAnatomy.keys(),
base: {
root: {
display: "inline-flex",
alignItems: "center",
gap: "2"
},
indicator: {
width: "0.64em",
height: "0.64em",
flexShrink: 0,
borderRadius: "full",
forcedColorAdjust: "none",
bg: "colorPalette.solid"
}
},
variants: {
size: {
sm: {
root: {
textStyle: "xs"
}
},
md: {
root: {
textStyle: "sm"
}
},
lg: {
root: {
textStyle: "md"
}
}
}
},
defaultVariants: {
size: "md"
}
});
exports.statusSlotRecipe = statusSlotRecipe;