Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
migrate legal line-heights
Oleg Isonendfb7a5754abd
diff --git a/packages/design-system/src/components/avatar.tsx b/packages/design-system/src/components/avatar.tsxindex 2eb59a711f..a9e12d6f6d 100644--- a/packages/design-system/src/components/avatar.tsx+++ b/packages/design-system/src/components/avatar.tsx@@ -202,7 +202,7 @@ const StyledAvatarFallback = styled(AvatarPrimitive.Fallback, {size: {"1": {fontSize: "$fontSize$2",- lineHeight: "15px",+ lineHeight: "$lineHeight$3",},"2": {fontSize: "$fontSize$4",diff --git a/packages/design-system/src/components/heading.tsx b/packages/design-system/src/components/heading.tsxindex c02b93aa71..8e7b62a097 100644--- a/packages/design-system/src/components/heading.tsx+++ b/packages/design-system/src/components/heading.tsx@@ -30,7 +30,11 @@ export const Heading = React.forwardRef<// This is the mapping of Heading Variants to Text cssconst textCss: Record<HeadingSizeVariants, CSS> = {- 1: { fontWeight: 500, lineHeight: "20px", "@bp2": { lineHeight: "23px" } },+ 1: {+ fontWeight: 500,+ lineHeight: "$lineHeight$4",+ "@bp2": { lineHeight: "23px" },+ },2: { fontWeight: 500, lineHeight: "25px", "@bp2": { lineHeight: "30px" } },3: { fontWeight: 500, lineHeight: "33px", "@bp2": { lineHeight: "41px" } },4: { fontWeight: 500, lineHeight: "35px", "@bp2": { lineHeight: "55px" } },diff --git a/packages/design-system/src/components/text-area.tsx b/packages/design-system/src/components/text-area.tsxindex 2fd1668783..cab8d8d4ab 100644--- a/packages/design-system/src/components/text-area.tsx+++ b/packages/design-system/src/components/text-area.tsx@@ -48,13 +48,13 @@ export const TextArea = styled("textarea", {"1": {borderRadius: "$1",fontSize: "$fontSize$3",- lineHeight: "16px",+ lineHeight: "$lineHeight$3",px: "$spacing$3",},"2": {borderRadius: "$1",fontSize: "$fontSize$3",- lineHeight: "20px",+ lineHeight: "$lineHeight$4",px: "$spacing$3",},"3": {