プレビュー
HTML
<label>Name
<input name="name" value="Mira" />
</label>
CSS
:root {
--ink: #3f382f;
--paper: #f7f1e6;
--accent: #8d6a3e;
--accent-2: #5a5148;
--on-accent: #fff8ee;
--muted: #8a7f72;
--line: #d8cbb8;
--chip: #efe6d4;
}
label {
display: grid;
gap: 0.3rem;
color: var(--ink);
font-family: Palatino, Georgia, serif;
font-size: 0.95rem;
letter-spacing: 0.08em;
}
input {
padding: 0.65rem 1.3rem;
border: 1px solid currentColor;
border-radius: 0;
background: var(--paper);
color: inherit;
font: inherit;
}
Tailwind
<style>
:root {
--ink: #3f382f;
--paper: #f7f1e6;
--accent: #8d6a3e;
--accent-2: #5a5148;
--on-accent: #fff8ee;
--muted: #8a7f72;
--line: #d8cbb8;
--chip: #efe6d4;
}
</style>
<label class="grid gap-[0.3rem] text-[var(--ink)] font-[Palatino,_Georgia,_serif] text-[0.95rem] tracking-[0.08em]">Name
<input class="p-[0.65rem_1.3rem] [border:1px_solid_currentColor] rounded-[0] bg-[var(--paper)] text-inherit [font:inherit]" name="name" value="Mira" />
</label>