@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
38 lines (36 loc) • 737 B
JavaScript
import { defineComponentSlotStyle } from "../../core/system/config.js";
//#region src/components/status/status.style.ts
const statusStyle = defineComponentSlotStyle({
base: {
indicator: {
bg: "colorScheme.solid",
flexShrink: 0,
forcedColorAdjust: "none",
rounded: "full"
},
label: {},
root: {
alignItems: "center",
display: "inline-flex",
gap: "sm"
}
},
sizes: {
sm: {
indicator: { boxSize: "2" },
label: { fontSize: "sm" }
},
md: {
indicator: { boxSize: "2.5" },
label: { fontSize: "md" }
},
lg: {
indicator: { boxSize: "3" },
label: { fontSize: "lg" }
}
},
defaultProps: { size: "md" }
});
//#endregion
export { statusStyle };
//# sourceMappingURL=status.style.js.map