26 lines
1.6 KiB
HTML
26 lines
1.6 KiB
HTML
|
|
<!doctype html>
|
||
|
|
<!-- @dsCard group="Colors" name="Colors · Borders" subtitle="Hairline · default · strong" viewport="700x180" -->
|
||
|
|
<html><head>
|
||
|
|
<meta charset="utf-8"><title>Borders & Lines</title>
|
||
|
|
<link rel="stylesheet" href="../colors_and_type.css">
|
||
|
|
<style>
|
||
|
|
body { padding: 24px 32px; background: var(--paper); }
|
||
|
|
.row-label { font: 500 11px/1 var(--ff-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
|
||
|
|
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
|
||
|
|
.cell { background: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
|
||
|
|
.cell .name { font: 500 12px var(--ff-mono); }
|
||
|
|
.cell .hex { font: 400 11px var(--ff-mono); color: var(--fg-3); }
|
||
|
|
.demo { height: 32px; display: flex; align-items: center; padding-left: 10px; font-size: 12px; color: var(--fg-2); }
|
||
|
|
.d1 { border: 1px solid var(--border-soft); }
|
||
|
|
.d2 { border: 1px solid var(--border); }
|
||
|
|
.d3 { border: 1px solid var(--border-strong); }
|
||
|
|
</style></head>
|
||
|
|
<body>
|
||
|
|
<div class="row-label">Lines — hairline · default · strong</div>
|
||
|
|
<div class="grid">
|
||
|
|
<div class="cell"><div class="demo d1">soft hairline</div><span class="name">--border-soft</span><span class="hex">#F0F0EC · within cards</span></div>
|
||
|
|
<div class="cell"><div class="demo d2">default border</div><span class="name">--border</span><span class="hex">#E5E5E2 · cards, inputs</span></div>
|
||
|
|
<div class="cell"><div class="demo d3">strong divider</div><span class="name">--border-strong</span><span class="hex">#C9C9C5 · sections</span></div>
|
||
|
|
</div>
|
||
|
|
</body></html>
|