Skip to content

Commit

Permalink
feat(Theme): use full words for sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
pylafleur committed Jan 13, 2025
1 parent 482ae36 commit 28a77ce
Show file tree
Hide file tree
Showing 2 changed files with 306 additions and 306 deletions.
204 changes: 102 additions & 102 deletions packages/react/src/themes/build-theme.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -114,107 +114,107 @@ exports[`buildTheme should build the defaultAliasTokens theme with the customiza
"color-menu-item-content-disabled": "#B7BBC2",
"color-menu-item-content-hover": "#000000",
"color-menu-item-subcontent": "green",
"text-action-md-font-family": ""Open Sans", sans-serif",
"text-action-md-font-size": "0.75rem",
"text-action-md-font-weight": "700",
"text-action-md-letter-spacing": "0.2px",
"text-action-md-line-height": "1.5rem",
"text-action-md-transform": "uppercase",
"text-action-sm-font-family": ""Open Sans", sans-serif",
"text-action-sm-font-size": "0.6875rem",
"text-action-sm-font-weight": "700",
"text-action-sm-letter-spacing": "0.2px",
"text-action-sm-line-height": "1.5rem",
"text-action-sm-transform": "uppercase",
"text-body-lg-font-family": ""Open Sans", sans-serif",
"text-body-lg-font-size": "1rem",
"text-body-lg-font-weight": "400",
"text-body-lg-letter-spacing": "0.2px",
"text-body-lg-line-height": "1.5rem",
"text-body-lg-transform": "none",
"text-body-md-font-family": ""Open Sans", sans-serif",
"text-body-md-font-size": "0.875rem",
"text-body-md-font-weight": "400",
"text-body-md-letter-spacing": "0.2px",
"text-body-md-line-height": "1.5rem",
"text-body-md-transform": "none",
"text-body-sm-font-family": ""Open Sans", sans-serif",
"text-body-sm-font-size": "0.75rem",
"text-body-sm-font-weight": "400",
"text-body-sm-letter-spacing": "0.2px",
"text-body-sm-line-height": "1.25rem",
"text-body-sm-transform": "none",
"text-caption-md-font-family": ""Open Sans", sans-serif",
"text-caption-md-font-size": "0.875rem",
"text-caption-md-font-weight": "400",
"text-caption-md-letter-spacing": "0.2px",
"text-caption-md-line-height": "1.5rem",
"text-caption-md-transform": "none",
"text-heading-lg-font-family": ""Open Sans", sans-serif",
"text-heading-lg-font-size": "1.5rem",
"text-heading-lg-font-weight": "600",
"text-heading-lg-letter-spacing": "0.2px",
"text-heading-lg-line-height": "2rem",
"text-heading-lg-transform": "none",
"text-heading-md-font-family": ""Open Sans", sans-serif",
"text-heading-md-font-size": "1.25rem",
"text-heading-md-font-weight": "600",
"text-heading-md-letter-spacing": "0.2px",
"text-heading-md-line-height": "1.75rem",
"text-heading-md-transform": "none",
"text-heading-sm-font-family": ""Open Sans", sans-serif",
"text-heading-sm-font-size": "1rem",
"text-heading-sm-font-weight": "600",
"text-heading-sm-letter-spacing": "0.2px",
"text-heading-sm-line-height": "1.5rem",
"text-heading-sm-transform": "none",
"text-heading-xl-font-family": ""Open Sans", sans-serif",
"text-heading-xl-font-size": "2rem",
"text-heading-xl-font-weight": "600",
"text-heading-xl-letter-spacing": "0.2px",
"text-heading-xl-line-height": "2.5rem",
"text-heading-xl-transform": "none",
"text-heading-xs-font-family": ""Open Sans", sans-serif",
"text-heading-xs-font-size": "0.875rem",
"text-heading-xs-font-weight": "600",
"text-heading-xs-letter-spacing": "0.2px",
"text-heading-xs-line-height": "1.25rem",
"text-heading-xs-transform": "none",
"text-highlight-lg-font-family": ""Open Sans", sans-serif",
"text-highlight-lg-font-size": "1.5rem",
"text-highlight-lg-font-weight": "600",
"text-highlight-lg-letter-spacing": "0.2px",
"text-highlight-lg-line-height": "2rem",
"text-highlight-lg-transform": "none",
"text-highlight-md-font-family": ""Open Sans", sans-serif",
"text-highlight-md-font-size": "1.25rem",
"text-highlight-md-font-weight": "600",
"text-highlight-md-letter-spacing": "0.2px",
"text-highlight-md-line-height": "1.75rem",
"text-highlight-md-transform": "none",
"text-highlight-sm-font-family": ""Open Sans", sans-serif",
"text-highlight-sm-font-size": "1rem",
"text-highlight-sm-font-weight": "600",
"text-highlight-sm-letter-spacing": "0.2px",
"text-highlight-sm-line-height": "1.5rem",
"text-highlight-sm-transform": "none",
"text-label-md-font-family": ""Open Sans", sans-serif",
"text-label-md-font-size": "0.875rem",
"text-label-md-font-weight": "400",
"text-label-md-letter-spacing": "0.2px",
"text-label-md-line-height": "1.5rem",
"text-label-md-transform": "none",
"text-label-sm-font-family": ""Open Sans", sans-serif",
"text-label-sm-font-size": "0.75rem",
"text-label-sm-font-weight": "400",
"text-label-sm-letter-spacing": "0.2px",
"text-label-sm-line-height": "1.25rem",
"text-label-sm-transform": "none",
"text-legend-sm-font-family": ""Open Sans", sans-serif",
"text-legend-sm-font-size": "0.75rem",
"text-legend-sm-font-weight": "400",
"text-legend-sm-letter-spacing": "0.2px",
"text-legend-sm-line-height": "1.25rem",
"text-legend-sm-transform": "none",
"text-action-medium-font-family": ""Open Sans", sans-serif",
"text-action-medium-font-size": "0.75rem",
"text-action-medium-font-weight": "700",
"text-action-medium-letter-spacing": "0.2px",
"text-action-medium-line-height": "1.5rem",
"text-action-medium-transform": "uppercase",
"text-action-small-font-family": ""Open Sans", sans-serif",
"text-action-small-font-size": "0.6875rem",
"text-action-small-font-weight": "700",
"text-action-small-letter-spacing": "0.2px",
"text-action-small-line-height": "1.5rem",
"text-action-small-transform": "uppercase",
"text-body-large-font-family": ""Open Sans", sans-serif",
"text-body-large-font-size": "1rem",
"text-body-large-font-weight": "400",
"text-body-large-letter-spacing": "0.2px",
"text-body-large-line-height": "1.5rem",
"text-body-large-transform": "none",
"text-body-medium-font-family": ""Open Sans", sans-serif",
"text-body-medium-font-size": "0.875rem",
"text-body-medium-font-weight": "400",
"text-body-medium-letter-spacing": "0.2px",
"text-body-medium-line-height": "1.5rem",
"text-body-medium-transform": "none",
"text-body-small-font-family": ""Open Sans", sans-serif",
"text-body-small-font-size": "0.75rem",
"text-body-small-font-weight": "400",
"text-body-small-letter-spacing": "0.2px",
"text-body-small-line-height": "1.25rem",
"text-body-small-transform": "none",
"text-caption-medium-font-family": ""Open Sans", sans-serif",
"text-caption-medium-font-size": "0.875rem",
"text-caption-medium-font-weight": "400",
"text-caption-medium-letter-spacing": "0.2px",
"text-caption-medium-line-height": "1.5rem",
"text-caption-medium-transform": "none",
"text-heading-large-font-family": ""Open Sans", sans-serif",
"text-heading-large-font-size": "1.5rem",
"text-heading-large-font-weight": "600",
"text-heading-large-letter-spacing": "0.2px",
"text-heading-large-line-height": "2rem",
"text-heading-large-transform": "none",
"text-heading-medium-font-family": ""Open Sans", sans-serif",
"text-heading-medium-font-size": "1.25rem",
"text-heading-medium-font-weight": "600",
"text-heading-medium-letter-spacing": "0.2px",
"text-heading-medium-line-height": "1.75rem",
"text-heading-medium-transform": "none",
"text-heading-small-font-family": ""Open Sans", sans-serif",
"text-heading-small-font-size": "1rem",
"text-heading-small-font-weight": "600",
"text-heading-small-letter-spacing": "0.2px",
"text-heading-small-line-height": "1.5rem",
"text-heading-small-transform": "none",
"text-heading-xlarge-font-family": ""Open Sans", sans-serif",
"text-heading-xlarge-font-size": "2rem",
"text-heading-xlarge-font-weight": "600",
"text-heading-xlarge-letter-spacing": "0.2px",
"text-heading-xlarge-line-height": "2.5rem",
"text-heading-xlarge-transform": "none",
"text-heading-xsmall-font-family": ""Open Sans", sans-serif",
"text-heading-xsmall-font-size": "0.875rem",
"text-heading-xsmall-font-weight": "600",
"text-heading-xsmall-letter-spacing": "0.2px",
"text-heading-xsmall-line-height": "1.25rem",
"text-heading-xsmall-transform": "none",
"text-highlight-large-font-family": ""Open Sans", sans-serif",
"text-highlight-large-font-size": "1.5rem",
"text-highlight-large-font-weight": "600",
"text-highlight-large-letter-spacing": "0.2px",
"text-highlight-large-line-height": "2rem",
"text-highlight-large-transform": "none",
"text-highlight-medium-font-family": ""Open Sans", sans-serif",
"text-highlight-medium-font-size": "1.25rem",
"text-highlight-medium-font-weight": "600",
"text-highlight-medium-letter-spacing": "0.2px",
"text-highlight-medium-line-height": "1.75rem",
"text-highlight-medium-transform": "none",
"text-highlight-small-font-family": ""Open Sans", sans-serif",
"text-highlight-small-font-size": "1rem",
"text-highlight-small-font-weight": "600",
"text-highlight-small-letter-spacing": "0.2px",
"text-highlight-small-line-height": "1.5rem",
"text-highlight-small-transform": "none",
"text-label-medium-font-family": ""Open Sans", sans-serif",
"text-label-medium-font-size": "0.875rem",
"text-label-medium-font-weight": "400",
"text-label-medium-letter-spacing": "0.2px",
"text-label-medium-line-height": "1.5rem",
"text-label-medium-transform": "none",
"text-label-small-font-family": ""Open Sans", sans-serif",
"text-label-small-font-size": "0.75rem",
"text-label-small-font-weight": "400",
"text-label-small-letter-spacing": "0.2px",
"text-label-small-line-height": "1.25rem",
"text-label-small-transform": "none",
"text-legend-small-font-family": ""Open Sans", sans-serif",
"text-legend-small-font-size": "0.75rem",
"text-legend-small-font-weight": "400",
"text-legend-small-letter-spacing": "0.2px",
"text-legend-small-line-height": "1.25rem",
"text-legend-small-transform": "none",
}
`;
Loading

0 comments on commit 28a77ce

Please sign in to comment.