Improve typography for "What's new?" dialog (#391)

- remove <h1> (redundant)
- adjust font-sizes and margins for headings (h2, h3)
This commit is contained in:
Marcus Jaschen 2021-03-26 08:28:40 +01:00 committed by GitHub
parent a066adc752
commit 5f0f155e5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -189,6 +189,7 @@ gulp.task('boundaries', function () {
gulp.task('changelog', function (cb) {
var content = 'BR.changelog = `' + marked(fs.readFileSync('./CHANGELOG.md', 'utf-8')) + '`';
content = content.replace(/<h1.*<\/h1>/i, '');
fs.writeFile(paths.dest + '/changelog.js', content, cb);
});