Typography

Styles for headings, paragraphs, lists, tables, and inline text.

Taxing Laughter: 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 TreasuryPeople's happiness
EmptyOverflowing
ModestSatisfied
FullEcstatic

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.

export default function TypographyDemoExample() {
  return (
...

H1

Taxing Laughter: The Joke Tax Chronicles

export default function TypographyH1Example() {
  return (
...

H2

The People of the Kingdom

export default function TypographyH2Example() {
  return (
...

H3

The Joke Tax

export default function TypographyH3Example() {
  return (
...

H4

People stopped telling jokes

export default function TypographyH4Example() {
  return (
...

Paragraph

The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax.

export default function TypographyPExample() {
  return (
...

Blockquote

"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."
export default function TypographyBlockquoteExample() {
  return (
...

Table

King's TreasuryPeople's happiness
EmptyOverflowing
ModestSatisfied
FullEcstatic
export default function TypographyTableExample() {
  return (
...

List

  • 1st level of puns: 5 gold coins
  • 2nd level of jokes: 10 gold coins
  • 3rd level of one-liners : 20 gold coins
export default function TypographyListExample() {
  return (
...

Inline code

@fictjs/radix-ui
export default function TypographyInlineCodeExample() {
  return (
...

Lead

A modal dialog that interrupts the user with important content and expects a response.

export default function TypographyLeadExample() {
  return (
...

Large

Are you absolutely sure?
export default function TypographyLargeExample() {
  return (
...

Small

Email address
export default function TypographySmallExample() {
  return (
...

Muted

Enter your email address.

export default function TypographyMutedExample() {
  return (
...

RTL

فرض الضرائب على الضحك: سجلات ضريبة النكتة

في قديم الزمان، في أرض بعيدة، كان هناك ملك كسول جداً يقضي يومه كله مستلقياً على عرشه. في أحد الأيام، جاءه مستشاروه بمشكلة: المملكة كانت تنفد من المال.

خطة الملك

فكر الملك طويلاً وبجد، وأخيراً توصل إلى خطة عبقرية: سيفرض ضريبة على النكات في المملكة.

"في النهاية،" قال، "الجميع يستمتع بنكتة جيدة، لذا من العدل أن يدفعوا مقابل هذا الامتياز."

ضريبة النكتة

لم يكن رعايا الملك سعداء. تذمروا واشتكوا، لكن الملك كان حازماً:

  • المستوى الأول من التورية: 5 قطع ذهبية
  • المستوى الثاني من النكات: 10 قطع ذهبية
  • المستوى الثالث من النكات القصيرة: 20 قطعة ذهبية

نتيجة لذلك، توقف الناس عن رواية النكات، وغرقت المملكة في الكآبة. لكن كان هناك شخص واحد رفض أن تحبطه حماقة الملك: مهرج البلاط المسمى المازح.

ثورة المازح

بدأ المازح يتسلل إلى القلعة في منتصف الليل ويترك النكات في كل مكان: تحت وسادة الملك، في حسائه، حتى في المرحاض الملكي. كان الملك غاضباً، لكنه لم يستطع إيقاف المازح.

وبعد ذلك، في يوم من الأيام، اكتشف سكان المملكة أن النكات التي تركها المازح كانت مضحكة جداً لدرجة أنهم لم يستطيعوا منع أنفسهم من الضحك. وبمجرد أن بدأوا بالضحك، لم يستطيعوا التوقف.

ثورة الشعب

شعر سكان المملكة بالبهجة من الضحك، وبدأوا في رواية النكات والتورية مرة أخرى، وسرعان ما أصبحت المملكة بأكملها جزءاً من النكتة.

خزينة الملكسعادة الشعب
فارغةفائضة
متواضعةراضٍ
ممتلئةمنتشٍ

الملك، عندما رأى مدى سعادة رعاياه، أدرك خطأ طرقه وألغى ضريبة النكتة. أُعلن المازح بطلاً، وعاشت المملكة في سعادة دائمة.

مغزى القصة هو: لا تستهن أبداً بقوة الضحك الجيد وكن دائماً حذراً من الأفكار السيئة.

const translations = {
  ar: { dir: 'rtl', title: 'فرض الضرائب على الضحك: سجلات ضريبة النكتة', lead: 'في قديم الزمان، في أرض بعيدة، كان هناك ملك كسول جداً يقضي يومه كله مستلقياً على عرشه.', plan: 'خطة الملك', jokeTax: 'ضريبة النكتة', revolt: 'ثورة المازح', people: 'ثورة الشعب', quote: '"في النهاية، الجميع يستمتع بنكتة جيدة، لذا من العدل أن يدفعوا مقابل هذا الامتياز."', levels: ['المستوى الأول من التورية: 5 قطع ذهبية', 'المستوى الثاني من النكات: 10 قطع ذهبية', 'المستوى الثالث من النكات القصيرة: 20 قطعة ذهبية'], treasury: ['خزينة الملك', 'فارغة', 'متواضعة', 'ممتلئة'], happiness: ['سعادة الشعب', 'فائضة', 'راضٍ', 'منتشٍ'] },
...