diff --git a/CHANGELOG.md b/CHANGELOG.md index b87239fd7f..ab12540959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## v.8.1.2 + +This release changes the font size and / or line-height for h2, h4 and h6 for +**desktop** users. In addition, the color of `.ffe-sub-lead-paragraph` has +changed from `@ffe-blue-royal` to `@ffe-black`. + +**Visual diff** + +Consumers of `.ffe-h2`, `.ffe-h4`, `.ffe-h6` and `.ffe-sub-lead-paragraph` +will have to update their visual baseline images. Since the actual changes will +be small and have a very small chance of actually breaking a design, this +change was introduced as a patch. + ## v.8.1.1 This release changes `@ffe-sand` from `#E1D5AF` to `#F8F5EB` diff --git a/less/font-sizes.less b/less/font-sizes.less index fdeffd1bbd..4143a25149 100644 --- a/less/font-sizes.less +++ b/less/font-sizes.less @@ -24,7 +24,7 @@ }); .ffe-fontsize(@breakpoint-md, { - font-size: 36px; + font-size: 32px; }); } @@ -74,4 +74,4 @@ .ffe-fontsize(@breakpoint-md, { font-size: 16px; }); -} \ No newline at end of file +} diff --git a/less/typography.less b/less/typography.less index a56cb61efc..7e470263b8 100644 --- a/less/typography.less +++ b/less/typography.less @@ -99,16 +99,17 @@ .ffe-lead-paragraph, .ffe-sub-lead-paragraph { margin-top: 0; - color: @ffe-blue-royal; font-family: "MuseoSans-500", arial, sans-serif; } .ffe-lead-paragraph { + color: @ffe-blue-royal; font-size: 18px; line-height: 28px; } .ffe-sub-lead-paragraph { + color: @ffe-black; font-size: 16px; line-height: 26px; } @@ -240,7 +241,7 @@ } .ffe-h2 { - line-height: 50px; + line-height: 44px; } .ffe-h3 { @@ -248,7 +249,7 @@ } .ffe-h4 { - line-height: 28px; + line-height: 24px; } .ffe-h5 { @@ -256,7 +257,7 @@ } .ffe-h6 { - line-height: 24px; + line-height: 22px; } .ffe-lead-paragraph { diff --git a/package.json b/package.json index ef26f11d7d..e7967bb324 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ffe-core", - "version": "8.1.1", + "version": "8.1.2", "description": "Rammeverk for Felles Front End", "less": "ffe.less", "main": "index.js", diff --git a/visual-tests/baseline-screenshots/colors/plain/firefox-large.png b/visual-tests/baseline-screenshots/colors/plain/firefox-large.png index 85b0433177..dce5c98f6a 100644 Binary files a/visual-tests/baseline-screenshots/colors/plain/firefox-large.png and b/visual-tests/baseline-screenshots/colors/plain/firefox-large.png differ diff --git a/visual-tests/baseline-screenshots/layout/plain/firefox-large.png b/visual-tests/baseline-screenshots/layout/plain/firefox-large.png index c43d38679a..474ecbe44f 100644 Binary files a/visual-tests/baseline-screenshots/layout/plain/firefox-large.png and b/visual-tests/baseline-screenshots/layout/plain/firefox-large.png differ diff --git a/visual-tests/baseline-screenshots/typo/plain/firefox-large.png b/visual-tests/baseline-screenshots/typo/plain/firefox-large.png index e86da37102..192cbc8fdd 100644 Binary files a/visual-tests/baseline-screenshots/typo/plain/firefox-large.png and b/visual-tests/baseline-screenshots/typo/plain/firefox-large.png differ diff --git a/visual-tests/baseline-screenshots/typo/plain/firefox-medium.png b/visual-tests/baseline-screenshots/typo/plain/firefox-medium.png index 8e5714e737..9997281229 100644 Binary files a/visual-tests/baseline-screenshots/typo/plain/firefox-medium.png and b/visual-tests/baseline-screenshots/typo/plain/firefox-medium.png differ diff --git a/visual-tests/baseline-screenshots/typo/plain/firefox-small.png b/visual-tests/baseline-screenshots/typo/plain/firefox-small.png index 247a1139c7..ccd0f4d577 100644 Binary files a/visual-tests/baseline-screenshots/typo/plain/firefox-small.png and b/visual-tests/baseline-screenshots/typo/plain/firefox-small.png differ