Feature cards
One centred statement over a three-by-two grid of soft grey cards, each a line icon, a title and a grey sub-line.
Part of the style
Painted Sky Desktop
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/painted-sky-desktop/features/figma.html?palette=79be513bebb7b2d7
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/painted-sky-desktop/features/figma.html?palette=79be513bebb7b2d7 and pass that whole HTML document to the html_to_figma tool, so the part "Feature 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: #030105;
--ink-deep: #010002;
--ink-soft: #3e3744;
--ink-mute: #74635b;
--paper: #e4cfc5;
--paper-soft: #dfcac0;
--pill-grey: #a08e85;
--glass: rgba(9, 4, 13, 0.33);
--glass-light: rgba(228, 207, 197, 0.42);
--on-glass: #e4cfc5;
--glass-hover: rgba(228, 207, 197, 0.14);
--hairline: rgba(1, 0, 2, 0.1);
--window-dark: #ebe2f2;
--window-dark-ink: #d9c4ba;
--sky: #c85a55;
--sky-light: #ab605a;
--dot-min: #967a65;
--dot-zoom: #9a7577;
--dot-close: #bc5c5a;
--alert: #bf605e;
}
</style>
<section class="features">
<h2 class="features__statement">Lull is a small, quiet shelf for the passages you want to keep.</h2>
<ul class="features__grid">
<li class="features__card">
<svg class="features__icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M5 3.5h7l3.5 3.5v9.5H5z" /><path d="M12 3.5V7h3.5M8 11h5M8 14h3" /></svg>
<h3 class="features__title">Quick clip</h3>
<p class="features__line">Keep a sentence in one keystroke.</p>
</li>
<li class="features__card">
<svg class="features__icon" viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="6.5" /><circle cx="10" cy="10" r="2.5" /></svg>
<h3 class="features__title">Calm mode</h3>
<p class="features__line">Everything else fades away.</p>
</li>
<li class="features__card">
<svg class="features__icon" viewBox="0 0 20 20" aria-hidden="true"><rect x="3.5" y="3.5" width="13" height="13" rx="3.5" /><path d="M7 12.5c1-1.2 2-1.2 3 0s2 1.2 3 0" /></svg>
<h3 class="features__title">Small & native</h3>
<p class="features__line">Opens before you finish blinking.</p>
</li>
<li class="features__card">
<svg class="features__icon" viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="6.5" /><path d="M10 3.5a6.5 6.5 0 0 1 0 13z" class="features__fill" /></svg>
<h3 class="features__title">Day & night</h3>
<p class="features__line">Follows the light outside.</p>
</li>
<li class="features__card">
<svg class="features__icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M8.5 4H5.5A1.5 1.5 0 0 0 4 5.5v9A1.5 1.5 0 0 0 5.5 16h9a1.5 1.5 0 0 0 1.5-1.5V11.5" /><path d="M10 10l6-6M12 4h4v4" /></svg>
<h3 class="features__title">Take it with you</h3>
<p class="features__line">Plain text, Markdown or a tidy PDF.</p>
</li>
<li class="features__card">
<svg class="features__icon" viewBox="0 0 20 20" aria-hidden="true"><circle cx="9" cy="9" r="5" /><path d="M12.7 12.7 16.5 16.5" /></svg>
<h3 class="features__title">Finds by feeling</h3>
<p class="features__line">Search that knows "that bit about rain".</p>
</li>
</ul>
</section>
<style>
.features {
max-width: calc(var(--cards-max) + 2 * var(--edge));
margin: 0 auto;
padding: var(--section-space) var(--edge);
text-align: center;
}
.features__statement {
margin: 0 auto var(--space-xl);
max-width: 34ch;
color: var(--ink-deep);
font-family: var(--font-display);
font-size: var(--text-xl);
font-weight: 500;
line-height: 1.3;
letter-spacing: var(--track-tight);
text-wrap: balance;
}
.features__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
text-align: left;
}
.features__card {
padding: var(--space-l);
border-radius: var(--radius-l);
background: var(--paper-soft);
transition: background var(--time) var(--ease);
}
.features__card:hover {
background: var(--paper);
box-shadow: 0 0 0 var(--rule) var(--hairline);
}
.features__icon {
width: 18px;
height: 18px;
margin-bottom: 10px;
fill: none;
stroke: var(--ink-deep);
stroke-width: 1.4;
stroke-linecap: round;
stroke-linejoin: round;
transition: transform var(--quick) var(--ease);
}
.features__fill {
fill: var(--ink-deep);
}
.features__card:hover .features__icon {
transform: translateY(-2px);
}
.features__title {
margin: 0;
color: var(--ink-deep);
font-size: var(--text-l);
font-weight: 400;
line-height: 1.5;
}
.features__line {
margin: 2px 0 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: 1.5;
}
@media (max-width: 760px) {
.features__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 480px) {
.features__grid {
grid-template-columns: 1fr;
}
.features__card {
padding: 26px var(--space-l);
}
}
</style>