-
Notifications
You must be signed in to change notification settings - Fork 5
refactor: headlines (Guidelines 2.0) #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
80b60f6
refactor(headlines): font-weight & line-height declarations and order
mfranzke 33b560b
feat(headlines): added responsive sizes
mfranzke 3a80f80
refactor: corrected the font-weight value for headlines
mfranzke f4de800
Merge branch 'main' into refactor-headlines
mfranzke 93b3abd
refactor: quotes
mfranzke ddd68de
Merge branch 'main' into refactor-headlines
mfranzke 2354220
Merge branch 'main' into refactor-headlines
mfranzke aee2d8b
chore: some optimization
mfranzke f537987
chore: switch to unitless declarations
mfranzke 88e7a55
refactor: calculate the headlines line-height
mfranzke 900b0cb
chore: simplification
mfranzke 8a8bd7c
chore: satisfy the sass compiler
mfranzke 129d153
Merge branch 'main' into refactor-headlines
mfranzke d544c02
Merge branch 'main' into refactor-headlines
mfranzke 74ebac1
Merge branch 'main' into refactor-headlines
mfranzke 6ff8c2f
Merge branch 'main' into refactor-headlines
mfranzke c007c42
chore: stylelint fix
mfranzke 32f961b
Merge branch 'main' into refactor-headlines
mfranzke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 9 additions & 12 deletions
21
source/_patterns/01-elements/headline/_headline.variables.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
@import "../../../css/helpers/functions"; | ||
|
||
$rea-main-h1-font-size: to-rem( | ||
$pxValue: 36 | ||
) !default; // * TODO: possibly rework variable naming | ||
$rea-main-h2-font-size: to-rem( | ||
$pxValue: 24 | ||
) !default; // * TODO: possibly rework variable naming | ||
$rea-main-h3-font-size: to-rem( | ||
$pxValue: 20 | ||
) !default; // * TODO: possibly rework variable naming | ||
$rea-main-h4-font-size: to-rem( | ||
$pxValue: 18 | ||
) !default; // * TODO: possibly rework variable naming | ||
// * TODO: possibly rework variable naming | ||
$rea-main-h1-font-size: 36 !default; | ||
$rea-main-h1-font-size-small: 28 !default; | ||
$rea-main-h2-font-size: 24 !default; | ||
$rea-main-h2-font-size-small: 20 !default; | ||
$rea-main-h3-font-size: 20 !default; | ||
$rea-main-h3-font-size-small: 18 !default; | ||
$rea-main-h4-font-size: 18 !default; | ||
$rea-main-h4-font-size-small: 16 !default; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.