Skip to content

Commit 474049a

Browse files
authored
docs: Revise breaking changes for font mixins and variables
Updated breaking changes section to reflect font mixin and variable removals, along with new usage guidelines.
1 parent 43b9fbc commit 474049a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
### BREAKING CHANGES
1111

12-
* removes now unnecessary font weight mixins
13-
* Dependency Updates + Variable removal
12+
* The fonts in the figma styleguide have been consolidated. I reflected the changes back into the component library. So if you read `name: txt-body-s` in the figma typography part. You can now simply use the `+txtBodyS` mixin in your sass code. However, this means some variables have been removed and new ones have been introduced. I also removed a lot of the original mixins, because they no longer aligned with the updated rules; including all fonts like `textBody` or the modifiers for `fontSize...` or `fontWeight...`. This also reflects on custom css properties, that are now grouped into their font styles instead of distinct variables. The Headline element also lost its `xxl` size but should back gracefully to `xl` for backward compatibility. **TLDR** Breaking changes around SASS mixins and CSS variables.
1413

1514

1615

0 commit comments

Comments
 (0)