Pridi
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Category · 5 min read
เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
Every line is editable: paste your real headline and copy. How to use this page
| Trirong | Prompt | |
|---|---|---|
| Category | Serif | Sans-serif |
| Designer | Cadson Demak | Cadson Demak |
| Styles | 18 | 18 |
| Weights | 100, 200, 300, 400, 500, 600, 700, 800, 900 | 100, 200, 300, 400, 500, 600, 700, 800, 900 |
| Italics | Yes | Yes |
| Licence | OFL | OFL |
| Popularity | #607 | #46 |
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">One request loads both families.
body {
font-family: "Prompt", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
font-size: 1.0625rem; /* 17px */
line-height: 1.5;
}
h1, h2, h3 {
font-family: "Trirong", Georgia, 'Times New Roman', serif;
font-weight: 700;
line-height: 1;
letter-spacing: -0.01em;
}
h1 { font-size: 2.66rem; }
h2 { font-size: 2.13rem; }Trirong on headings, Prompt everywhere else. Sizes and spacing are tuned to these two fonts' proportions.
@import "tailwindcss";
@theme {
--font-sans: "Prompt", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
--font-display: "Trirong", Georgia, 'Times New Roman', serif;
}
/* <h1 class="font-display"> … <p class="font-sans"> */Add the <link> from the HTML tab to load the fonts.
@import url('https://fonts.googleapis.com/css2?family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');Put it at the very top of your stylesheet.