プレビュー
HTML
<article>
<h1>Soft</h1>
<p>Large radii and a pale plane.</p>
</article>
CSS
:root {
--ink: #3d2a32;
--paper: #fff7f8;
--accent: #c45c7a;
--accent-2: #7a8fbf;
--on-accent: #ffffff;
--muted: #8a6f78;
--line: #f0d4dc;
--chip: #ffe8ee;
}
article {
display: grid;
gap: 0.7rem;
max-width: 16rem;
padding: 1.15rem 1.25rem;
border: 1px solid var(--line);
border-radius: 1.2rem;
background: var(--paper);
color: var(--ink);
font-family: system-ui, sans-serif;
}
h1, p { margin: 0; }
h1 {
font-size: 1.15rem;
font-weight: 600;
letter-spacing: 0;
text-transform: none;
}
p { color: var(--muted); font-size: 0.95rem; }
Tailwind
<style>
:root {
--ink: #3d2a32;
--paper: #fff7f8;
--accent: #c45c7a;
--accent-2: #7a8fbf;
--on-accent: #ffffff;
--muted: #8a6f78;
--line: #f0d4dc;
--chip: #ffe8ee;
}
</style>
<article class="grid gap-[0.7rem] max-w-[16rem] p-[1.15rem_1.25rem] [border:1px_solid_var(--line)] rounded-[1.2rem] bg-[var(--paper)] text-[var(--ink)] font-[system-ui,_sans-serif]">
<h1 class="m-0 text-[1.15rem] font-semibold tracking-[0] normal-case">Soft</h1>
<p class="m-0 text-[var(--muted)] text-[0.95rem]">Large radii and a pale plane.</p>
</article>