From d3c7b205db72687d6236819b5ed92da77b0615ef Mon Sep 17 00:00:00 2001
From: Biju Philip Content font
The content font should be a serif one, to gently bring your eyes from one letter to the other with
the lowest amount of effort.line-height and letter-spacing are vital here. Play with those parameters to make the most out of your
font of choice. However at Medium you'll find almost an empty line of space in the middle of two lines of text (line-height: 1.58;).
- While the space between the charachters is kept a little bit on the negative side (letter-spacing: -0.03;) to make words feel more compacts.
+ While the space between the characters is kept a little bit on the negative side (letter-spacing: -0.03;) to make words feel more compacts.
@@ -60,16 +60,16 @@
The font used for all the UI elements is preferably a sans-serif one. It should create contrast with the content font.
Its color could be a little bit lighter than the one used for the main content.
It needs to be readable given the background-color of your page
- but not distracting from the main purpose of the page. Reading!
You can use it also for h2 making the titles for your paragraphs. Here the color should be the same as the one used for the main title.
+ but not distracting from the main purpose of the page. Reading!
You can use it also for h2 making the titles for your paragraphs. Here, the color should be the same as the one used for the main title.
To highlight a word or phrase you can wrap them in a span element and set the background to a color that reminds of your brand color identity.
To highlight a word or phrase you can wrap them in a span element and set the background to a color that reminds one of your brand color identity.
`Needs a subtitle`
Here we find rgba(0, 0, 0, 0.54) to give meaningful informations without grabbing the attention that the title, main charachter, deserves.
- The length of a line of text should never be longer than 740px. So our eyes are not forced to run from left to right on the page.
740px, so our eyes are not forced to run from left to right on the page.
The text color should be rgba(0, 0, 0, 0.84) on a rgba(255, 255, 255, 1) background to ensure the best contrast possible.