Work cards
A centred column of dark project cards, each with a square thumbnail drawn in CSS, a white title, two grey lines and mono caps tag pills. Cards lift on hover.
Part of the style
Red Hour
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/red-hour/worklist/figma.html?palette=cf929b7633c14fbd
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/red-hour/worklist/figma.html?palette=cf929b7633c14fbd and pass that whole HTML document to the html_to_figma tool, so the part "Work cards" 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 {
--ink: #6b906b;
--night: #7a9579;
--night-2: #748e74;
--night-3: #798f78;
--dot: rgba(84, 120, 84, 0.55);
--dot-dark: rgba(1, 1, 1, 0.12);
--text: #1d1e1c;
--text-mid: #111210;
--text-dim: rgba(1, 1, 1, 0.5);
--signal: #67874b;
--signal-deep: #7e926d;
--violet: #ae7d46;
--violet-pale: #21180d;
--lilac: #1f150c;
--plum: #0b0400;
--mint: #031d14;
--moss: #82908a;
--leaf: #000402;
--sage: #000000;
}
</style>
<section class="worklist" aria-label="Selected work">
<ul class="worklist__list">
<li>
<a class="worklist__card" href="#">
<span class="worklist__thumb worklist__thumb--hour" aria-hidden="true"><span class="worklist__orb"></span></span>
<span class="worklist__body">
<span class="worklist__title">The Hour Room</span>
<span class="worklist__text">A clock you can play like a drum machine: stretch it, flip it, and let the minutes keep the beat.</span>
<span class="worklist__tags"><span class="worklist__tag">Interaction</span><span class="worklist__tag">Creative code</span><span class="worklist__tag">Sound</span></span>
</span>
</a>
</li>
<li>
<a class="worklist__card" href="#">
<span class="worklist__thumb worklist__thumb--mint" aria-hidden="true">
<svg class="worklist__mark" viewBox="0 0 40 40"><path d="M6 8h10v6h8V8h10v10h-6v-4h-4l-4 6-4-6h-4v4H6zM14 24a6 6 0 0 1 12 0v8h-4v-8a2 2 0 0 0-4 0v8h-4z"></path></svg>
</span>
<span class="worklist__body">
<span class="worklist__title">Choirbook</span>
<span class="worklist__text">Rehearsal notes for amateur choirs: hum a line, find the bar, mark where the altos got lost.</span>
<span class="worklist__tags"><span class="worklist__tag">Product</span><span class="worklist__tag">Web</span><span class="worklist__tag">Direction</span></span>
</span>
</a>
</li>
<li>
<a class="worklist__card" href="#">
<span class="worklist__thumb worklist__thumb--grain" aria-hidden="true"><span class="worklist__sphere"></span></span>
<span class="worklist__body">
<span class="worklist__title">Pebble Pact</span>
<span class="worklist__text">A ring and an app for keeping promises between two people. Each kept one adds a stone.</span>
<span class="worklist__tags"><span class="worklist__tag">Object</span><span class="worklist__tag">Interface</span><span class="worklist__tag">Art direction</span></span>
</span>
</a>
</li>
<li>
<a class="worklist__card" href="#">
<span class="worklist__thumb worklist__thumb--moss" aria-hidden="true"><span class="worklist__capsule">↑</span></span>
<span class="worklist__body">
<span class="worklist__title">Tidewise</span>
<span class="worklist__text">Tide tables that breathe: harbour data drawn as motion, for sailors and anyone who swims early.</span>
<span class="worklist__tags"><span class="worklist__tag">Data vis</span><span class="worklist__tag">Motion</span><span class="worklist__tag">System</span></span>
</span>
</a>
</li>
</ul>
</section>
<style>
.worklist {
padding: var(--space-l) var(--edge);
background: var(--ink);
}
.worklist__list {
display: grid;
gap: var(--space-xs);
max-width: 620px;
margin: 0 auto;
padding: 0;
list-style: none;
}
.worklist__card {
display: grid;
grid-template-columns: clamp(84px, 18vw, 128px) minmax(0, 1fr);
gap: var(--space-m);
align-items: start;
padding: var(--space-xs);
border-radius: var(--radius-m);
background: var(--night-2);
color: inherit;
text-decoration: none;
transition: background var(--quick) var(--ease);
}
.worklist__card:hover,
.worklist__card:focus-visible { background: var(--night-3); }
.worklist__card:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.worklist__thumb {
display: grid;
place-items: center;
aspect-ratio: 1;
overflow: hidden;
border-radius: var(--radius-s);
}
.worklist__thumb > * { transition: scale var(--quick) var(--ease); }
.worklist__card:hover .worklist__thumb > * { scale: 1.06; }
.worklist__thumb--hour { background: var(--signal); }
.worklist__orb {
width: 74%;
aspect-ratio: 1;
border-radius: 50%;
background: radial-gradient(circle at 50% 45%, var(--signal-deep) 0 10%, var(--ink) 38%, transparent 70%);
}
.worklist__thumb--mint { background: var(--mint); }
.worklist__mark { width: 58%; fill: var(--ink); }
.worklist__thumb--grain { background: var(--night-2); }
.worklist__sphere {
width: 62%;
aspect-ratio: 1;
border-radius: 50%;
background:
radial-gradient(circle, var(--night) 0.9px, transparent 1.2px) 0 0 / 5px 5px,
radial-gradient(circle at 35% 30%, var(--text) 0, var(--text-mid) 35%, var(--night-3) 75%);
}
.worklist__thumb--moss { background: var(--moss); }
.worklist__capsule {
display: grid;
place-items: start center;
width: 46%;
height: 72%;
padding-top: 12%;
border-radius: var(--radius-round);
background: linear-gradient(var(--moss), var(--leaf) 75%, var(--violet-pale));
color: var(--text);
font-size: clamp(18px, 3vw, 28px);
line-height: 1;
}
.worklist__body {
display: grid;
gap: var(--space-xs);
padding-top: var(--space-xs);
}
.worklist__title {
color: var(--text);
font-size: var(--text-s);
font-weight: 500;
}
.worklist__text {
color: var(--text-mid);
font-size: var(--text-s);
line-height: 1.35;
}
.worklist__tags {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding-top: 2px;
}
.worklist__tag {
padding: 3px var(--space-xs);
border-radius: 3px;
background: var(--night-3);
color: var(--text-mid);
font: 400 10px/1.2 var(--font-mono);
letter-spacing: 0.04em;
text-transform: uppercase;
}
@media (max-width: 480px) {
.worklist__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
</style>