プレビュー
HTML
<label>Note
<textarea rows="3">Quiet type.</textarea>
</label>
CSS
:root {
--ink: #e7eaf1;
--paper: #141820;
--accent: #7aa2ff;
--accent-2: #9b8cff;
--on-accent: #10131a;
--muted: #8b93a7;
--line: #2c3342;
--chip: #1d2330;
}
label {
display: grid;
gap: 0.3rem;
color: var(--ink);
font-family: ui-monospace, monospace;
font-size: 0.78rem;
}
textarea {
min-width: 14rem;
padding: 0.6rem 0.7rem;
border: 1px solid var(--line);
border-radius: 0.25rem;
background: var(--paper);
color: inherit;
font: inherit;
}
Tailwind
<style>
:root {
--ink: #e7eaf1;
--paper: #141820;
--accent: #7aa2ff;
--accent-2: #9b8cff;
--on-accent: #10131a;
--muted: #8b93a7;
--line: #2c3342;
--chip: #1d2330;
}
</style>
<label class="grid gap-[0.3rem] text-[var(--ink)] font-[ui-monospace,_monospace] text-[0.78rem]">Note
<textarea class="min-w-[14rem] p-[0.6rem_0.7rem] [border:1px_solid_var(--line)] rounded-[0.25rem] bg-[var(--paper)] text-inherit [font:inherit]" rows="3">Quiet type.</textarea>
</label>