Files
xrpl-hooks-ide/components/LogText.tsx
2022-02-08 18:07:37 +02:00

32 lines
528 B
TypeScript

import { styled } from "../stitches.config";
const Text = styled("span", {
fontFamily: "$monospace",
lineHeight: "$body",
color: "$text",
wordWrap: "break-word",
variants: {
variant: {
log: {
color: "$text",
},
warning: {
color: "$amber11",
},
error: {
color: "$crimson11",
},
success: {
color: "$grass11",
},
},
capitalize: {
true: {
textTransform: "capitalize",
},
},
},
});
export default Text;