Files
xrpl-hooks-ide/components/Text.tsx

37 lines
538 B
TypeScript

import { styled } from "../stitches.config";
const Text = styled("span", {
fontFamily: "$body",
lineHeight: "$body",
color: "$text",
variants: {
small: {
true: {
fontSize: "$xs",
},
},
muted: {
true: {
color: "$mauve9",
},
},
error: {
true: {
color: "$error",
},
},
monospace: {
true: {
fontFamily: "$monospace",
},
},
block: {
true: {
display: "block",
}
}
},
});
export default Text;