プレビュー
HTML
<article>
<h1>Chic</h1>
<p>Serif type and a thin rule.</p>
<p>Keep the rhythm even.</p>
</article>
CSS
:root {
--ink: #3f382f;
--paper: #f7f1e6;
--accent: #8d6a3e;
--accent-2: #5a5148;
--on-accent: #fff8ee;
--muted: #8a7f72;
--line: #d8cbb8;
--chip: #efe6d4;
}
article {
display: flex;
flex-direction: column;
gap: 0.9rem;
max-width: 36ch;
color: var(--ink);
font-family: Palatino, Georgia, serif;
}
h1, p { margin: 0; }
h1 {
font-size: 1.2rem;
font-weight: 500;
letter-spacing: 0.08em;
}
Tailwind
<style>
:root {
--ink: #3f382f;
--paper: #f7f1e6;
--accent: #8d6a3e;
--accent-2: #5a5148;
--on-accent: #fff8ee;
--muted: #8a7f72;
--line: #d8cbb8;
--chip: #efe6d4;
}
</style>
<article class="flex flex-col gap-[0.9rem] max-w-[36ch] text-[var(--ink)] font-[Palatino,_Georgia,_serif]">
<h1 class="m-0 text-[1.2rem] font-medium tracking-[0.08em]">Chic</h1>
<p class="m-0">Serif type and a thin rule.</p>
<p class="m-0">Keep the rhythm even.</p>
</article>