プレビュー
HTML
<aside>
<p>Tight gaps and mono type.</p>
</aside>
CSS
:root {
--ink: #e7eaf1;
--paper: #141820;
--accent: #7aa2ff;
--accent-2: #9b8cff;
--on-accent: #10131a;
--muted: #8b93a7;
--line: #2c3342;
--chip: #1d2330;
}
aside {
max-width: 18rem;
padding: 0.6rem 0.7rem;
border: 1px solid var(--line);
border-radius: 0.25rem;
background: var(--chip);
color: var(--ink);
font-family: ui-monospace, monospace;
font-size: 0.78rem;
}
p { margin: 0; }
Tailwind
<style>
:root {
--ink: #e7eaf1;
--paper: #141820;
--accent: #7aa2ff;
--accent-2: #9b8cff;
--on-accent: #10131a;
--muted: #8b93a7;
--line: #2c3342;
--chip: #1d2330;
}
</style>
<aside class="max-w-[18rem] p-[0.6rem_0.7rem] [border:1px_solid_var(--line)] rounded-[0.25rem] bg-[var(--chip)] text-[var(--ink)] font-[ui-monospace,_monospace] text-[0.78rem]">
<p class="m-0">Tight gaps and mono type.</p>
</aside>