Download chakra-ui/packages/react/src/theme/text-styles.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/packages/react/src/theme/text-styles.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/packages/react/src/theme/text-styles.ts
-
curl -L -o text-styles.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/packages/react/src/theme/text-styles.ts
1.19 kB
| import { defineTextStyles } from "../styled-system" | |
| export const textStyles = defineTextStyles({ | |
| "2xs": { value: { fontSize: "2xs", lineHeight: "0.75rem" } }, | |
| xs: { value: { fontSize: "xs", lineHeight: "1rem" } }, | |
| sm: { value: { fontSize: "sm", lineHeight: "1.25rem" } }, | |
| md: { value: { fontSize: "md", lineHeight: "1.5rem" } }, | |
| lg: { value: { fontSize: "lg", lineHeight: "1.75rem" } }, | |
| xl: { value: { fontSize: "xl", lineHeight: "1.875rem" } }, | |
| "2xl": { value: { fontSize: "2xl", lineHeight: "2rem" } }, | |
| "3xl": { value: { fontSize: "3xl", lineHeight: "2.375rem" } }, | |
| "4xl": { | |
| value: { | |
| fontSize: "4xl", | |
| lineHeight: "2.75rem", | |
| letterSpacing: "-0.025em", | |
| }, | |
| }, | |
| "5xl": { | |
| value: { | |
| fontSize: "5xl", | |
| lineHeight: "3.75rem", | |
| letterSpacing: "-0.025em", | |
| }, | |
| }, | |
| "6xl": { | |
| value: { fontSize: "6xl", lineHeight: "4.5rem", letterSpacing: "-0.025em" }, | |
| }, | |
| "7xl": { | |
| value: { | |
| fontSize: "7xl", | |
| lineHeight: "5.75rem", | |
| letterSpacing: "-0.025em", | |
| }, | |
| }, | |
| none: { | |
| value: {}, | |
| }, | |
| label: { | |
| value: { | |
| fontSize: "sm", | |
| lineHeight: "1.25rem", | |
| fontWeight: "medium", | |
| }, | |
| }, | |
| }) | |