@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
30 lines (27 loc) • 541 B
JavaScript
"use strict";
import { defineRecipe } from '../../styled-system/config.js';
const markRecipe = defineRecipe({
className: "chakra-mark",
base: {
bg: "transparent",
color: "inherit",
whiteSpace: "nowrap"
},
variants: {
variant: {
subtle: {
bg: "colorPalette.subtle",
color: "inherit"
},
solid: {
bg: "colorPalette.solid",
color: "colorPalette.contrast"
},
text: {
fontWeight: "medium"
},
plain: {}
}
}
});
export { markRecipe };