Skip to content

Commit

Permalink
chore(styles): Remove deprecated display-size variables (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
schaertim authored Aug 28, 2024
1 parent ae926a5 commit b0e7570
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-panthers-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed deprecated `display-size` variables.
6 changes: 0 additions & 6 deletions packages/styles/src/variables/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,6 @@ $headings-font-weight: 700 !default;
$headings-line-height: $line-height-heading;
$headings-color: inherit !default;

// Deprecated because unused
$display1-size: 6rem !default;
$display2-size: 5.5rem !default;
$display3-size: 4.5rem !default;
$display4-size: 3.5rem !default;

// Deprecated because unused
$display1-weight: 300 !default;
$display2-weight: 300 !default;
Expand Down

0 comments on commit b0e7570

Please sign in to comment.