Headline over app window
Award pills, a two-line bold headline, grey lead, blue and white buttons, a changelog line, then a drawn app window with sidebar, list and timeline.
Part of the style
Sky Pill App Window
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/sky-pill-app-window/hero/figma.html?palette=a7c4fe7553eba4e6
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/sky-pill-app-window/hero/figma.html?palette=a7c4fe7553eba4e6 and pass that whole HTML document to the html_to_figma tool, so the part "Headline over app window" 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 {
--paper: #503628;
--surface: #42291c;
--ink: #fff3e8;
--ink-soft: #ceb8a4;
--ink-faint: #806658;
--line: #583d2f;
--wash: #54392b;
--on-accent: #42291c;
--coral-tint: #563c2e;
--veil: rgba(80, 54, 40, 0.82);
--accent: #82634c;
--accent-deep: #9e806a;
--accent-ink: #6b5a4d;
--accent-tint: #dcd3cd;
--steel: #7c6d63;
--coral: #a07a5d;
--go: #836350;
--go-tint: #716965;
--star: #83613f;
}
</style>
<section class="hero">
<div class="hero__inner">
<div class="hero__badges">
<span class="hero__award"><span class="hero__award-dot" aria-hidden="true">G</span>Grower's pick of the season</span>
<span class="hero__laurel">
<svg class="hero__leaf" viewBox="0 0 12 24" width="12" height="24" aria-hidden="true"><path d="M10 23C3 19 2 10 6 2M6 6c-3-1-4 0-4 0s1 2 4 1M5 11c-3-1-4 0-4 0s1 2 4 1M5 16c-3 0-4 1-4 1s2 1 4 0" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
Featured by the Seed Guild
<svg class="hero__leaf hero__leaf--flip" viewBox="0 0 12 24" width="12" height="24" aria-hidden="true"><path d="M10 23C3 19 2 10 6 2M6 6c-3-1-4 0-4 0s1 2 4 1M5 11c-3-1-4 0-4 0s1 2 4 1M5 16c-3 0-4 1-4 1s2 1 4 0" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
</span>
</div>
<h1 class="hero__title">Run your greenhouse on a calm, written-down schedule</h1>
<p class="hero__lead">Mossbank keeps every sowing, watering and delivery in one notebook, and drafts tomorrow's work list before you wake up.</p>
<div class="hero__actions">
<a class="hero__primary" href="#">Start growing</a>
<a class="hero__secondary" href="#">
<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 2v8m-3.5-3.5L8 10l3.5-3.5M2.5 13.5h11" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
Download
</a>
</div>
<p class="hero__changelog"><span class="hero__spark" aria-hidden="true">✦</span>Mar 4: frost alerts, a faster seed index, new tray labels</p>
<div class="hero__window" role="img" aria-label="The Mossbank notebook: a sidebar of beds and a planting log">
<div class="hero__rail" aria-hidden="true">
<span class="hero__rail-icon is-brand"></span>
<span class="hero__rail-icon"><svg viewBox="0 0 16 16"><rect x="2.5" y="3.5" width="11" height="10" rx="2" fill="none" stroke="currentColor" stroke-width="1.3"/><path d="M2.5 6.5h11M5.5 2v3M10.5 2v3" stroke="currentColor" stroke-width="1.3"/></svg></span>
<span class="hero__rail-icon is-on"><svg viewBox="0 0 16 16"><path d="M3 4h10M3 8h7M3 12h5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/></svg></span>
<span class="hero__rail-icon"><svg viewBox="0 0 16 16"><path d="M8 2l1.4 4.6L14 8l-4.6 1.4L8 14l-1.4-4.6L2 8l4.6-1.4z" fill="currentColor"/></svg></span>
<span class="hero__rail-icon"><svg viewBox="0 0 16 16"><circle cx="7" cy="7" r="4.2" fill="none" stroke="currentColor" stroke-width="1.3"/><path d="M10.2 10.2L13.5 13.5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/></svg></span>
</div>
<div class="hero__side">
<p class="hero__group">Today</p>
<span class="hero__item is-active"><span class="hero__chip" style="--chip: var(--accent)"></span>Tomato house, bed 4<span class="hero__count">12</span></span>
<span class="hero__item"><span class="hero__chip" style="--chip: var(--go)"></span>Seedling benches<span class="hero__count">7</span></span>
<p class="hero__group">This week</p>
<span class="hero__item"><span class="hero__chip" style="--chip: var(--coral)"></span>Market delivery<span class="hero__count">3</span></span>
<span class="hero__item"><span class="hero__chip" style="--chip: var(--star)"></span>Compost turn<span class="hero__count">1</span></span>
<span class="hero__item"><span class="hero__chip" style="--chip: var(--ink-faint)"></span>Irrigation check<span class="hero__count">5</span></span>
<p class="hero__group">Earlier</p>
<span class="hero__item"><span class="hero__chip" style="--chip: var(--accent-ink)"></span>Fern cuttings<span class="hero__count">9</span></span>
</div>
<div class="hero__doc">
<div class="hero__docbar">
<span class="hero__crumb">Tomato house, bed 4 <span aria-hidden="true">⌄</span></span>
<span class="hero__updated">Updated 12 minutes ago</span>
<span class="hero__faces" aria-hidden="true">
<img src="assets/portrait-buron.jpg" alt="" width="22" height="22">
<img src="assets/portrait-grey.jpg" alt="" width="22" height="22">
</span>
<span class="hero__share">Share</span>
</div>
<div class="hero__page">
<h2 class="hero__doctitle">Tomato house, bed 4</h2>
<p class="hero__summary">Trusses set well after the night heating went to 14°. Side shoots due Thursday; two plants show early leaf curl and are tagged for a closer look.</p>
<p class="hero__label">Timeline</p>
<ol class="hero__log">
<li class="hero__row"><span>First truss on all 24 plants, flowers open</span><time>Mar 4, 07:10</time></li>
<li class="hero__row"><span>Night heating raised from 12° to 14°</span><time>Mar 3, 18:45</time></li>
<li class="hero__row"><span>Leaf curl on plants 9 and 17, photographed</span><time>Mar 2, 09:20</time></li>
<li class="hero__row"><span>Feed switched to high potash, 1 in 200</span><time>Feb 28, 16:00</time></li>
<li class="hero__row"><span>Strings tied in, laterals pinched</span><time>Feb 26, 08:30</time></li>
</ol>
</div>
</div>
</div>
</div>
</section>
<style>
.hero {
padding: clamp(40px, 6vw, 64px) var(--edge) var(--section-space);
}
.hero__inner {
max-width: var(--column);
margin: 0 auto;
}
.hero__badges {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-s) var(--space-m);
margin-bottom: var(--space-m);
}
.hero__award {
display: inline-flex;
align-items: center;
gap: var(--space-s);
padding: var(--space-xs) var(--space-m) var(--space-xs) var(--space-s);
border-radius: var(--radius-pill);
background: var(--coral-tint);
color: var(--coral);
font-size: var(--text-m);
font-weight: 500;
}
.hero__award-dot {
display: grid;
place-items: center;
width: 20px;
height: 20px;
border-radius: var(--radius-pill);
background: var(--coral);
color: var(--on-accent);
font-size: var(--text-xs);
font-weight: 700;
line-height: 1;
}
.hero__laurel {
display: inline-flex;
align-items: center;
gap: var(--space-s);
color: var(--ink-faint);
font-size: var(--text-m);
font-weight: 500;
}
.hero__leaf--flip {
transform: scaleX(-1);
}
.hero__title {
max-width: 24ch;
margin: 0;
font-size: var(--display);
font-weight: 700;
line-height: var(--leading-head);
letter-spacing: var(--track-tight);
text-wrap: balance;
}
.hero__lead {
max-width: 40em;
margin: var(--space-m) 0 var(--space-l);
color: var(--ink-soft);
font-size: var(--text-l);
line-height: 1.45;
}
.hero__actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-s);
}
.hero__primary,
.hero__secondary {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: 50px;
padding: 0 var(--space-l);
border-radius: var(--radius-m);
font-size: var(--text-m);
font-weight: 600;
text-decoration: none;
transition: background-color var(--quick) var(--ease), transform var(--move) var(--ease), border-color var(--quick) var(--ease);
}
.hero__primary {
background: var(--accent);
color: var(--on-accent);
}
.hero__primary:hover {
background: var(--accent-deep);
}
.hero__secondary {
border: var(--hairline) solid var(--line);
background: var(--surface);
box-shadow: var(--shadow-button);
color: var(--ink);
font-weight: 500;
}
.hero__secondary:hover {
border-color: var(--ink-faint);
}
.hero__primary:active,
.hero__secondary:active {
transform: translateY(1px);
}
.hero__primary:focus-visible,
.hero__secondary:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.hero__changelog {
display: flex;
gap: var(--space-s);
margin: var(--space-xl) 0 var(--space-m);
color: var(--ink-soft);
font-size: var(--text-s);
line-height: 1.5;
}
.hero__spark {
color: var(--ink-faint);
}
/* The drawn app window */
.hero__window {
display: grid;
grid-template-columns: 48px 200px minmax(0, 1fr);
height: 440px;
overflow: hidden;
border: var(--hairline) solid var(--line);
border-radius: var(--radius-m);
background: var(--surface);
box-shadow: var(--shadow-window);
font-size: var(--text-xs);
line-height: 1.4;
}
.hero__rail {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-m);
padding: var(--space-m) 0;
border-right: var(--hairline) solid var(--line);
background: var(--paper);
color: var(--ink-soft);
}
.hero__rail-icon {
display: grid;
place-items: center;
width: 26px;
height: 26px;
border-radius: var(--radius-s);
}
.hero__rail-icon svg {
width: 15px;
height: 15px;
}
.hero__rail-icon.is-on {
background: var(--line);
color: var(--ink);
}
.hero__rail-icon.is-brand {
width: 18px;
height: 18px;
border: 2px solid var(--coral);
border-radius: var(--radius-xs);
background: var(--coral-tint);
}
.hero__side {
display: flex;
flex-direction: column;
padding: var(--space-m) var(--space-s);
border-right: var(--hairline) solid var(--line);
background: var(--paper);
}
.hero__group {
margin: var(--space-m) var(--space-s) var(--space-xs);
color: var(--ink-faint);
}
.hero__group:first-child {
margin-top: 0;
}
.hero__item {
display: flex;
align-items: center;
gap: var(--space-s);
min-height: 26px;
padding: 0 var(--space-s);
border: 0;
border-radius: var(--radius-xs);
background: transparent;
color: var(--ink-soft);
font: inherit;
text-align: left;
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.hero__item:hover {
background: var(--wash);
}
.hero__item.is-active {
background: var(--line);
color: var(--ink);
}
.hero__chip {
flex: none;
width: 12px;
height: 12px;
border-radius: var(--radius-xs);
background: var(--chip);
opacity: 0.75;
}
.hero__count {
margin-left: auto;
color: var(--ink-faint);
font-size: 10px;
}
.hero__doc {
min-width: 0;
}
.hero__docbar {
display: flex;
align-items: center;
gap: var(--space-s);
padding: var(--space-s) var(--space-m);
color: var(--ink);
}
.hero__crumb {
font-weight: 500;
}
.hero__updated {
margin-left: auto;
color: var(--ink-faint);
}
.hero__faces {
display: flex;
}
.hero__faces img {
width: 22px;
height: 22px;
margin-left: -6px;
border: 2px solid var(--surface);
border-radius: var(--radius-pill);
object-fit: cover;
object-position: 50% 20%;
}
.hero__share {
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius-xs);
background: var(--accent);
color: var(--on-accent);
font-weight: 600;
}
.hero__page {
max-width: 560px;
margin: 0 auto;
padding: var(--space-xl) var(--space-l) 0;
}
.hero__doctitle {
margin: 0 0 var(--space-m);
font-size: var(--text-l);
font-weight: 600;
letter-spacing: var(--track-tight);
}
.hero__summary {
margin: 0 0 var(--space-l);
color: var(--ink);
line-height: 1.6;
}
.hero__label {
margin: 0 0 var(--space-s);
color: var(--ink-faint);
}
.hero__log {
margin: 0;
padding: 0;
list-style: none;
}
.hero__row {
display: flex;
gap: var(--space-m);
align-items: baseline;
padding: 7px 0 7px var(--space-m);
position: relative;
opacity: 0;
transform: translateY(8px);
transition: opacity var(--reveal) var(--ease), transform var(--reveal) var(--ease);
transition-delay: calc(var(--order, 0) * 120ms + 300ms);
}
.hero__row::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 6px;
height: 6px;
margin-top: -3px;
border-radius: var(--radius-pill);
background: var(--line);
box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line);
}
.hero__row time {
margin-left: auto;
flex: none;
color: var(--ink-faint);
font-size: 10px;
}
.hero.is-seen .hero__row {
opacity: 1;
transform: none;
}
@media (max-width: 760px) {
.hero__window {
grid-template-columns: 40px minmax(0, 1fr);
height: 400px;
}
.hero__side {
display: none;
}
.hero__updated {
display: none;
}
.hero__page {
padding: var(--space-l) var(--space-m) 0;
}
}
@media (max-width: 420px) {
.hero__primary,
.hero__secondary {
flex: 1 1 auto;
justify-content: center;
padding: 0 var(--space-m);
}
.hero__row time {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.hero__row {
opacity: 1;
transform: none;
transition: none;
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.hero')) {
root.querySelectorAll('.hero__row').forEach((row, order) => row.style.setProperty('--order', order));
requestAnimationFrame(() => root.classList.add('is-seen'));
}
})();
</script>