Skip to content

Commit

Permalink
fixup! chore: adapt codemod with heading changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DSil committed Jul 30, 2024
1 parent 23b81b2 commit 5054c4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/orbit-components/transforms/tokens-v16.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ const borderRadiusTransformations = [
const headingTransformations = [
{ from: "fontSizeHeadingDisplay", to: "headingDisplayFontSize" },
{ from: "fontSizeHeadingDisplaySubtitle", to: "headingDisplaySubtitleFontSize" },
{ from: "fontSizeHeadingTitle1", to: "headingTitle1FontSize" },
{ from: "fontSizeHeadingTitle1", to: "headingTitle0FontSize" },
{ from: "fontSizeHeadingTitle2", to: "headingTitle2FontSize" },
{ from: "fontSizeHeadingTitle3", to: "headingTitle3FontSize" },
{ from: "fontSizeHeadingTitle4", to: "headingTitle4FontSize" },
{ from: "fontSizeHeadingTitle5", to: "headingTitle5FontSize" },
{ from: "fontSizeHeadingTitle6", to: "headingTitle6FontSize" },
{ from: "lineHeightHeadingDisplay", to: "headingDisplayLineHeight" },
{ from: "lineHeightHeadingDisplaySubtitle", to: "headingDisplaySubtitleLineHeight" },
{ from: "lineHeightHeadingTitle1", to: "headingTitle1LineHeight" },
{ from: "lineHeightHeadingTitle1", to: "headingTitle0LineHeight" },
{ from: "lineHeightHeadingTitle2", to: "headingTitle2LineHeight" },
{ from: "lineHeightHeadingTitle3", to: "headingTitle3LineHeight" },
{ from: "lineHeightHeadingTitle4", to: "headingTitle4LineHeight" },
{ from: "lineHeightHeadingTitle5", to: "headingTitle5LineHeight" },
{ from: "lineHeightHeadingTitle6", to: "headingTitle6LineHeight" },
{ from: "fontWeightHeadingDisplay", to: "headingDisplayFontWeight" },
{ from: "fontWeightHeadingDisplaySubtitle", to: "headingDisplaySubtitleFontWeight" },
{ from: "fontWeightHeadingTitle1", to: "headingTitle1FontWeight" },
{ from: "fontWeightHeadingTitle1", to: "headingTitle0FontWeight" },
{ from: "fontWeightHeadingTitle2", to: "headingTitle2FontWeight" },
{ from: "fontWeightHeadingTitle3", to: "headingTitle3FontWeight" },
{ from: "fontWeightHeadingTitle4", to: "headingTitle4FontWeight" },
Expand Down

0 comments on commit 5054c4b

Please sign in to comment.