Colour specimen
Teal chapter with swatch cards that pair a colour name and hex with a large 'Aa', and a strip of drawn pictograms from the same sign system.
Part of the style
Reed Mono Chapters
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/reed-mono-chapters/specimen/figma.html?palette=ae2cf9c2b64282d3
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/reed-mono-chapters/specimen/figma.html?palette=ae2cf9c2b64282d3 and pass that whole HTML document to the html_to_figma tool, so the part "Colour specimen" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--reed: #d8be67;
--bark: #2e2e2b;
--sand: #f0d67f;
--night: #22221f;
--chalk: #fef1c4;
--chalk-dim: #fef1c4;
--shade: rgba(11, 11, 9, 0.28);
--bark-veil: rgba(46, 46, 43, 0.2);
--olive: #0c599e;
--mustard: #cae6ff;
--harbor: #705f2b;
--sky: #e0d4b3;
--signal: #2c88e4;
--skin: #7e97b5;
--hair: #030b15;
--teal: #65541f;
}
</style>
<section class="specimen">
<div class="specimen__head">
<h2 class="specimen__eyebrow">Sign system</h2>
<p class="specimen__statement">Two inks that survive salt and glare, one typeface, and pictograms on a 24 point grid.</p>
</div>
<div class="specimen__cards">
<figure class="specimen__card">
<figcaption class="specimen__label"><b>Harbor yellow</b><span>#F2C230</span></figcaption>
<span class="specimen__sample specimen__sample--yellow" aria-hidden="true">Aa</span>
</figure>
<figure class="specimen__card">
<figcaption class="specimen__label"><b>Tide blue</b><span>#17405C</span></figcaption>
<span class="specimen__sample specimen__sample--blue" aria-hidden="true">Aa</span>
</figure>
</div>
<ul class="specimen__icons" aria-label="Pictograms">
<li class="specimen__icon" title="Ferry"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 15h18l-3 4H6z"/><path d="M7 15V9h10v6M12 9V5"/></svg></li>
<li class="specimen__icon" title="Sea pool"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 16c2.5-2 4.5-2 7 0s4.5 2 7 0 4.5-2 6 0M2 20c2.5-2 4.5-2 7 0s4.5 2 7 0 4.5-2 6 0"/><circle cx="14" cy="6" r="2"/><path d="M6 13l5-4 3 3"/></svg></li>
<li class="specimen__icon" title="Tram"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="6" y="5" width="12" height="13"/><path d="M6 12h12M9 18l-2 3M15 18l2 3M9 2h6"/></svg></li>
<li class="specimen__icon" title="Lifebuoy"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="8.5"/><circle cx="12" cy="12" r="4"/><path d="M12 3.5v4.5M12 16v4.5M3.5 12H8M16 12h4.5"/></svg></li>
<li class="specimen__icon" title="Bikes"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="6" cy="16" r="4"/><circle cx="18" cy="16" r="4"/><path d="M6 16l4-7h6l2 7M10 9l2 7h-6M15 6h3"/></svg></li>
<li class="specimen__icon" title="Information"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 11v6M12 7v1"/></svg></li>
</ul>
</section>
<style>
.specimen {
padding: var(--space-wall) var(--edge);
background: var(--teal);
color: var(--sand);
}
.specimen__head {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
gap: var(--space-7);
margin-bottom: var(--space-16);
}
.specimen__eyebrow {
justify-self: start;
align-self: start;
margin: 0.85em 0 0;
padding-bottom: 0.15em;
border-bottom: var(--rule) solid currentColor;
font-size: var(--text-m);
font-weight: 500;
letter-spacing: var(--tracking-caps);
line-height: 1;
text-transform: uppercase;
}
.specimen__statement {
max-width: 22em;
margin: 0;
font-size: var(--text-xl);
letter-spacing: var(--tracking-tight);
line-height: 1.25;
}
.specimen__cards {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--gap);
margin-bottom: var(--gap);
}
.specimen__card {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
margin: 0;
padding: var(--space-3) var(--space-4);
background: var(--chalk);
color: var(--night);
box-shadow: 0 10px 24px -12px var(--shade);
}
.specimen__label {
display: grid;
font-size: var(--text-xs);
line-height: 1.3;
}
.specimen__label b { font-weight: 500; }
.specimen__sample {
font-size: clamp(3rem, 1.5rem + 5vw, 6rem);
letter-spacing: -0.04em;
line-height: 1;
background: linear-gradient(currentColor 0 0) left bottom / 0 0.08em no-repeat;
transition: background-size var(--duration-l) var(--ease-out);
}
.specimen__card:hover .specimen__sample { background-size: 100% 0.08em; }
.specimen__sample--yellow { color: var(--night); text-shadow: 0.05em 0.05em 0 var(--mustard); }
.specimen__sample--blue { color: var(--harbor); }
.specimen__icons {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.specimen__icon {
display: grid;
place-items: center;
aspect-ratio: 1;
background: var(--night);
color: var(--sand);
transition: background-color var(--duration-s) linear, color var(--duration-s) linear;
}
.specimen__icon:hover { background: var(--mustard); color: var(--night); }
.specimen__icon svg {
width: 46%;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: square;
}
@media (max-width: 48rem) {
.specimen__head { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--space-7); }
.specimen__eyebrow { margin-top: 0; }
.specimen__cards { grid-template-columns: minmax(0, 1fr); }
.specimen__icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
</style>