Typography
Styles for headings, paragraphs, lists...etc
Typography is the art and technique of arranging type to make written language legible, readable, and visually appealing. It involves the selection of typefaces, point sizes, line lengths, line-spacing (leading), and letter-spacing (tracking), as well as adjusting the space between pairs of letters (kerning). Typography plays a crucial role in both print and digital media, influencing how text is perceived and how it communicates its message.
The Joke Tax Chronicles
Once upon a time, in a far-off land, there was a very lazy king who spent all day lounging on his throne. One day, his advisors came to him with a problem: the kingdom was running out of money.
The King's Plan
The king thought long and hard, and finally came up with a brilliant plan: he would tax the jokes in the kingdom.
"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."
The Joke Tax
The king's subjects were not amused. They grumbled and complained, but the king was firm:
- 1st level of puns: 5 gold coins
- 2nd level of jokes: 10 gold coins
- 3rd level of one-liners : 20 gold coins
As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was one person who refused to let the king's foolishness get him down: a court jester named Jokester.
Jokester's Revolt
Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester.
And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.
The People's Rebellion
The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns again, and soon the entire kingdom was in on the joke.
King's Treasury | People's happiness |
---|---|
Empty | Overflowing |
Modest | Satisfied |
Full | Ecstatic |
The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax. Jokester was declared a hero, and the kingdom lived happily ever after.
The moral of the story is: never underestimate the power of a good laugh and always be careful of bad ideas.
Heading
- Font Style: Often bold, sans-serif, or serif typefaces are used. Headings are usually larger in size to stand out.
- Size: Heading sizes typically decrease as the heading levels increase (e.g., h1 > h2 > h3 >4).
- Weight: Bold or semi-bold to ensure prominence.
- Spacing: Adequate space above and below to separate from surrounding content.
h1
Taxing Laughter: The Joke Tax Chronicles
h2
The People of the Kingdom
h3
The Joke Tax
h4
People stopped telling jokes
Paragraphs
- Font Style: Typically a serif or sans-serif font that is easy to read in longer blocks of text.
- Size: 12px to 16px, depending on the medium and audience.
- Weight: Regular or light for easy readability.
- Line Height (Leading): 1.5 to 1.75 times the font size to ensure good readability and avoid text crowding.
- Alignment: Left-aligned or justified.
p
The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax.
Blockquotes
- Font Style: Often italic or a different font style to distinguish from the main text.
- Size: Slightly larger or smaller than body text.
- Weight: Regular or light with italicized text for emphasis.
- Indentation: Indented from the main body text, sometimes with a border or a different background color.
blockquote
"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."
table
King's Treasury | People's happiness |
---|---|
Empty | Overflowing |
Modest | Satisfied |
Full | Ecstatic |
Lists (Bulleted and Numbered)
- Font Style: Often the same as paragraphs to maintain consistency, but sometimes slightly smaller or a different weight for differentiation.
- Size: Slightly smaller than body text, or the same size, depending on the design.
- Spacing: Increased line height to distinguish between list items; space above and below the list.
- Indentation: Indented from the main text to visually separate the list from paragraphs.
list
- 1st level of puns: 5 gold coins
- 2nd level of jokes: 10 gold coins
- 3rd level of one-liners : 20 gold coins
Inline code
@radix-ui/react-alert-dialog
Lead
A modal dialog that interrupts the user with important content and expects a response.
Large
Small
Muted
Enter your email address.