@ec-europa/ecl-typography-paragraphs
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -10,5 +10,5 @@ module.exports = { | ||
item.handle | ||
} -->\n<h3 class="ecl-heading ecl-heading--h3">${item.label}</h3>\n${ | ||
markup | ||
}\n<!-- End: @${item.handle} -->\n`; | ||
} -->\n<h3 class="ecl-heading ecl-heading--h3">${ | ||
item.label | ||
}</h3>\n${markup}\n<!-- End: @${item.handle} -->\n`; | ||
}, | ||
@@ -15,0 +15,0 @@ default: 'l', |
@@ -5,3 +5,3 @@ { | ||
"license": "EUPL-1.1", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "ECL Paragraphs", | ||
@@ -8,0 +8,0 @@ "main": "_paragraphs.scss", |
@@ -60,3 +60,8 @@ # Paragraphs | ||
Line-height, traditionally known as leading, is one of several factors that directly contribute to readability and pacing of copy. Line-heights are based on the size of the font itself. Ideal line-heights for standard copy has a ratio of 1.66. For example, a type at 1em/16px would have a line-height of 24px (16 x 1.66). The exception to this rule are headings, which need less spacing and therefore have a line-height ratio of 1.1. | ||
Line-height, traditionally known as leading, is one of several factors that | ||
directly contribute to readability and pacing of copy. Line-heights are based on | ||
the size of the font itself. Ideal line-heights for standard copy has a ratio of | ||
1.66. For example, a type at 1em/16px would have a line-height of 24px (16 x | ||
1.66). The exception to this rule are headings, which need less spacing and | ||
therefore have a line-height ratio of 1.1. | ||
@@ -67,8 +72,12 @@ **Standard line-height**: type size x 1.66 | ||
"Research shows that reading slows and retention rates fall as line length begins to exceed the ideal width, because the reader then needs to use the muscles of the eye and neck to track from the end of one line to the beginning of the next line. If the eye must traverse great distances on the page, the reader is easily lost and must hunt for the beginning of the next line. Quantitative studies show that moderate line lengths significantly increase the legibility of text." | ||
Web Style Guide – Basic Design Principles for Creating Website | ||
Patrick J. Lynch and Sarah Horton | ||
2nd edition, page 97. | ||
"Research shows that reading slows and retention rates fall as line length | ||
begins to exceed the ideal width, because the reader then needs to use the | ||
muscles of the eye and neck to track from the end of one line to the beginning | ||
of the next line. If the eye must traverse great distances on the page, the | ||
reader is easily lost and must hunt for the beginning of the next line. | ||
Quantitative studies show that moderate line lengths significantly increase the | ||
legibility of text." Web Style Guide – Basic Design Principles for Creating | ||
Website Patrick J. Lynch and Sarah Horton 2nd edition, page 97. | ||
**Line-length**: 44 to 77 characters. | ||
**Line-length**: 44 to 77 characters. | ||
@@ -75,0 +84,0 @@ ## Spacing |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
87
0
5438