Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jan 15, 2025
1 parent 67ecc8b commit a33f313
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions packages/admin-ui/scripts/importFromFigma/createThemeScss.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,20 +253,20 @@ const createThemeScss = normalizedFigmaExport => {
`--text-h3-weight: var(--font-weight-semibold);`
],
[
`--text-h4: 20px;`,
`--text-h4-leading: 32px;`,
`--text-h4: var(--text-xl);`,
`--text-h4-leading: var(--text-xl-leading);`,
`--text-h4-tracking: initial;`,
`--text-h4-weight: var(--font-weight-semibold);`
],
[
`--text-h5: 16px;`,
`--text-h5-leading: 20px;`,
`--text-h5: var(--text-lg);`,
`--text-h5-leading: var(--text-lg-leading);`,
`--text-h5-tracking: initial;`,
`--text-h5-weight: var(--font-weight-semibold);`
],
[
`--text-h6: 14px;`,
`--text-h6-leading: 20px;`,
`--text-h6: var(--text-md);`,
`--text-h6-leading: var(--text-md-leading);`,
`--text-h6-tracking: initial;`,
`--text-h6-weight: var(--font-weight-semibold);`
]
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/admin-ui/src/DropdownMenu/DropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const DropdownMenuBase = React.forwardRef<
triggerProps: {
// Temporary fix. We need this because `ref` doesn't get passed to components
// that are decorated with `makeDecoratable`. This will be fixed in the future.
children: <div className={"inline-block"}>{trigger}</div>
children: <div className={"inline-s"}>{trigger}</div>
},
contentProps: rest
};
Expand Down
16 changes: 8 additions & 8 deletions packages/admin-ui/src/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,16 @@
--text-h3-leading: var(--text-xxl-leading);
--text-h3-tracking: var(--text-xxl-tracking);
--text-h3-weight: var(--font-weight-semibold);
--text-h4: 20px;
--text-h4-leading: 32px;
--text-h4: var(--text-xl);
--text-h4-leading: var(--text-xl-leading);
--text-h4-tracking: initial;
--text-h4-weight: var(--font-weight-semibold);
--text-h5: 16px;
--text-h5-leading: 20px;
--text-h5: var(--text-lg);
--text-h5-leading: var(--text-lg-leading);
--text-h5-tracking: initial;
--text-h5-weight: var(--font-weight-semibold);
--text-h6: 14px;
--text-h6-leading: 20px;
--text-h6: var(--text-md);
--text-h6-leading: var(--text-md-leading);
--text-h6-tracking: initial;
--text-h6-weight: var(--font-weight-semibold);
--text-sm: 12px;
Expand All @@ -235,11 +235,11 @@
--text-md-tracking: initial;
--text-md-weight: normal;
--text-lg: 16px;
--text-lg-leading: 22px;
--text-lg-leading: 24px;
--text-lg-tracking: initial;
--text-lg-weight: normal;
--text-xl: 20px;
--text-xl-leading: 30px;
--text-xl-leading: 32px;
--text-xl-tracking: initial;
--text-xl-weight: normal;
--text-xxl: 30px;
Expand Down

0 comments on commit a33f313

Please sign in to comment.