Dense Button
Tight gaps and mono type
Preview
HTML
<button type="button">Go</button>
CSS
:root {
--ink: #e7eaf1;
--paper: #141820;
--accent: #7aa2ff;
--accent-2: #9b8cff;
--on-accent: #10131a;
--muted: #8b93a7;
--line: #2c3342;
--chip: #1d2330;
}
button {
padding: 0.28rem 0.55rem;
border: 1px solid var(--line);
border-radius: 0.25rem;
background: var(--chip);
color: var(--ink);
font-family: ui-monospace, monospace;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0;
text-transform: none;
}
Tailwind
<style>
:root {
--ink: #e7eaf1;
--paper: #141820;
--accent: #7aa2ff;
--accent-2: #9b8cff;
--on-accent: #10131a;
--muted: #8b93a7;
--line: #2c3342;
--chip: #1d2330;
}
</style>
<button class="p-[0.28rem_0.55rem] [border:1px_solid_var(--line)] rounded-[0.25rem] bg-[var(--chip)] text-[var(--ink)] font-[ui-monospace,_monospace] text-[0.78rem] font-bold tracking-[0] normal-case" type="button">Go</button>