Dark service columns
Six columns on a black panel split by hairlines, each with a pixel icon, a wide caps name and a short grey text with a blue tail.
Part of the style
Black Road White Page
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/black-road-white-page/services/figma.html?palette=7ef8064dfd89d2ff
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/black-road-white-page/services/figma.html?palette=7ef8064dfd89d2ff and pass that whole HTML document to the html_to_figma tool, so the part "Dark service columns" 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: #fbf4ee;
--ink-mid: rgba(251, 244, 238, 0.72);
--ink-soft: rgba(251, 244, 238, 0.4);
--paper: #251a1a;
--night: #110c08;
--panel: #fbf4ee;
--on-night: #251a1a;
--on-night-soft: rgba(37, 26, 26, 0.6);
--on-night-faint: rgba(37, 26, 26, 0.24);
--ghost: #312626;
--lane: #342828;
--line-light: rgba(251, 244, 238, 0.14);
--line-dark: rgba(37, 26, 26, 0.14);
--signal: #a07b75;
--signal-light: #8c7672;
--rim: #8c6b65;
--route: #87645e;
}
</style>
<section class="services">
<div class="services__head">
<p class="services__label">Services</p>
<h2 class="services__title">Six ways across</h2>
</div>
<ul class="services__grid">
<li class="services__item">
<a class="services__link" href="#">
<svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|.##########.|.#..#..#..#.|.#..#..#..#.|.##########.|.##########.|.##########.|..##....##..|..##....##..|............"></svg>
<span class="services__name">Night coaches</span>
<span class="services__text">Reclining seats, dimmed cabins and one quiet stop at midnight. Sleep in one capital, <span class="services__tail">wake in the next.</span></span>
</a>
</li>
<li class="services__item">
<a class="services__link" href="#">
<svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|.....##.....|....####....|...######...|.....##.....|.....##.....|.....##.....|.....##.....|..########..|............"></svg>
<span class="services__name">Day express</span>
<span class="services__text">Fewer stops, faster lanes and a window seat for the mountains. Timed to <span class="services__tail">meet the last trains.</span></span>
</a>
</li>
<li class="services__item">
<a class="services__link" href="#">
<svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|..########..|..#......#..|..#.####.#..|..#......#..|..#.####.#..|..#......#..|..########..|....#..#....|...##..##..."></svg>
<span class="services__name">Charter fleet</span>
<span class="services__text">A whole coach for a choir, a team or a wedding. Your route, your hours, <span class="services__tail">our drivers.</span></span>
</a>
</li>
<li class="services__item">
<a class="services__link" href="#">
<svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|....####....|....#..#....|.##########.|.#........#.|.##########.|.#........#.|.#........#.|.##########.|............"></svg>
<span class="services__name">Parcel hold</span>
<span class="services__text">Boxes ride under the seats on every line, with a slip you can follow <span class="services__tail">stop by stop.</span></span>
</a>
</li>
<li class="services__item">
<a class="services__link" href="#">
<svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|.##########.|.#........#.|.#.##..##.#.|.#........#.|.#.######.#.|.#........#.|.##########.|.....##.....|....####...."></svg>
<span class="services__name">Border desk</span>
<span class="services__text">Visas, transit papers and passport checks handled before you board, <span class="services__tail">not at the barrier.</span></span>
</a>
</li>
<li class="services__item">
<a class="services__link" href="#">
<svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|....####....|...#....#...|..#..##..#..|..#.#..#.#..|..#..##..#..|...#....#...|....#..#....|.....##.....|............"></svg>
<span class="services__name">Route planning</span>
<span class="services__text">Tell us where and when. We stitch the legs, hold the seats and <span class="services__tail">send one ticket.</span></span>
</a>
</li>
</ul>
<a class="services__pill" href="#">All services</a>
</section>
<style>
.services {
display: grid;
gap: var(--space-xl);
padding: var(--section-space) var(--edge);
background: var(--panel);
color: var(--on-night);
}
.services__head {
display: grid;
gap: var(--space-s);
}
.services__label {
margin: 0;
font-family: var(--font-mono);
font-size: var(--text-xs);
text-transform: uppercase;
color: var(--on-night-soft);
}
.services__title {
margin: 0;
font-family: var(--font-display);
font-variation-settings: "wdth" var(--display-width);
font-size: var(--display-m);
font-weight: 700;
line-height: 1;
text-transform: uppercase;
}
.services__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
margin: 0;
padding: 0;
list-style: none;
}
.services__item {
border-left: var(--rule) solid var(--line-dark);
}
.services__link {
display: grid;
align-content: start;
gap: var(--space-m);
height: 100%;
padding: var(--space-m) var(--gap) var(--space-l);
color: inherit;
text-decoration: none;
transition: background-color var(--mid) var(--ease);
}
.services__link:hover,
.services__link:focus-visible {
background: var(--line-dark);
outline: none;
}
.services__icon {
width: 30px;
height: 30px;
margin-bottom: var(--space-s);
fill: var(--on-night);
shape-rendering: crispEdges;
transition: fill var(--quick) var(--ease), transform var(--slow) var(--ease-out);
}
.services__link:hover .services__icon,
.services__link:focus-visible .services__icon {
fill: var(--signal-light);
transform: translateY(-4px);
}
.services__name {
font-family: var(--font-display);
font-variation-settings: "wdth" var(--display-width);
font-size: var(--display-s);
font-weight: 700;
line-height: 1.05;
text-transform: uppercase;
max-width: 8em;
}
.services__text {
font-size: 11.5px;
line-height: 1.35;
color: var(--on-night-soft);
max-width: 26em;
}
.services__tail {
background: linear-gradient(90deg, var(--signal-light), var(--signal));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.services__pill {
justify-self: center;
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-m);
border: var(--rule) solid var(--on-night-faint);
border-radius: var(--pill);
color: var(--on-night);
font-family: var(--font-mono);
font-size: var(--text-xs);
text-transform: uppercase;
text-decoration: none;
transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.services__pill:hover,
.services__pill:focus-visible {
background: var(--on-night);
color: var(--ink);
outline: none;
}
@media (min-width: 1100px) {
.services__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
</style>
<script>
(() => {
const NS = 'http://www.w3.org/2000/svg';
for (const root of document.querySelectorAll('.services')) {
for (const icon of root.querySelectorAll('.services__icon[data-pixels]')) {
const rows = icon.dataset.pixels.split('|');
const top = Math.floor((12 - rows.length) / 2);
let d = '';
rows.forEach((row, y) => {
[...row].forEach((cell, x) => { if (cell === '#') d += `M${x} ${y + top}h1v1h-1z`; });
});
const path = document.createElementNS(NS, 'path');
path.setAttribute('d', d);
icon.appendChild(path);
}
}
})();
</script>