Privacy panel
A large soft panel with a glossy drawn object, a medium headline and two quiet lines; the object lifts on hover.
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/privacy/figma.html?palette=a00a69e670901cbb
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/painted-sky-desktop/privacy/figma.html?palette=a00a69e670901cbb and pass that whole HTML document to the html_to_figma tool, so the part "Privacy panel" 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: #c5c4c9;
--ink-deep: #cdccd1;
--ink-soft: #7a797c;
--ink-mute: #656462;
--paper: #030303;
--paper-soft: #050504;
--pill-grey: #2c2b2a;
--glass: rgba(185, 184, 189, 0.33);
--glass-light: rgba(3, 3, 3, 0.42);
--on-glass: #030303;
--glass-hover: rgba(3, 3, 3, 0.14);
--hairline: rgba(205, 204, 209, 0.1);
--window-dark: #edecf1;
--window-dark-ink: #0e0e0e;
--sky: #3f498f;
--sky-light: #464f80;
--dot-min: #454b7a;
--dot-zoom: #3f498f;
--dot-close: #454b7a;
--alert: #484f7d;
}
</style>
<section class="privacy">
<div class="privacy__panel">
<svg class="privacy__object" viewBox="0 0 160 140" aria-hidden="true">
<defs>
<linearGradient id="privacy-body" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--sky-light)" />
<stop offset="1" stop-color="var(--sky)" />
</linearGradient>
<linearGradient id="privacy-lid" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--paper)" />
<stop offset="1" stop-color="var(--sky-light)" />
</linearGradient>
</defs>
<ellipse class="privacy__shadow" cx="80" cy="130" rx="54" ry="6" />
<!-- a glossy keepsake tin: body, lid, a tag on a string -->
<rect x="22" y="48" width="116" height="76" rx="14" fill="url(#privacy-body)" />
<rect x="22" y="48" width="116" height="16" rx="8" fill="var(--paper)" opacity="0.28" />
<g class="privacy__lid">
<rect x="16" y="30" width="128" height="26" rx="11" fill="url(#privacy-lid)" />
<rect x="64" y="20" width="32" height="14" rx="7" fill="var(--sky)" />
</g>
<path d="M96 76c10 0 14 6 14 14" fill="none" stroke="var(--paper)" stroke-width="2" stroke-linecap="round" opacity="0.8" />
<rect x="100" y="88" width="20" height="26" rx="4" fill="var(--paper)" transform="rotate(-8 110 101)" />
<circle cx="108.5" cy="93" r="2" fill="var(--sky)" />
</svg>
<h2 class="privacy__title">Nothing leaves your desk.</h2>
<p class="privacy__text">Your clippings live in one plain folder on your own computer. No account, no cloud, no one reading over your shoulder.</p>
</div>
</section>
<style>
.privacy {
max-width: calc(var(--cards-max) + 2 * var(--edge));
margin: 0 auto;
padding: var(--section-space) var(--edge);
}
.privacy__panel {
display: flex;
flex-direction: column;
align-items: center;
padding: clamp(48px, 7vw, 76px) var(--space-l);
border-radius: var(--radius-l);
background: var(--paper-soft);
text-align: center;
}
.privacy__object {
width: 136px;
height: auto;
margin-bottom: var(--space-xl);
overflow: visible;
}
.privacy__lid {
transform-origin: 140px 44px;
transition: transform var(--rise) var(--ease-out);
}
.privacy__shadow {
fill: var(--ink-deep);
opacity: 0.08;
}
.privacy__panel:hover .privacy__lid {
transform: translateY(-6px) rotate(4deg);
}
.privacy__title {
margin: 0 0 10px;
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);
}
.privacy__text {
max-width: 44ch;
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: 1.6;
text-wrap: balance;
}
</style>