Centred statement
One didone sentence with italic connector words in a wide white field, and a small grey button under it.
Part of the style
Yellow Curtain Didone
6 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/yellow-curtain-didone/statement/figma.html?palette=050bd00a57bfe0ab
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/yellow-curtain-didone/statement/figma.html?palette=050bd00a57bfe0ab and pass that whole HTML document to the html_to_figma tool, so the part "Centred statement" 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: #1c0d06;
--paper: #91816b;
--ink-soft: #231806;
--chip: #8c7c66;
--curtain: #978068;
}
</style>
<section class="statement">
<p class="statement__text">We work <em>with</em> old houses <em>and</em> new makers <em>to</em> give them a voice <em>through</em> identity, campaign <em>&</em> film.</p>
<a class="statement__button" href="#">Start a project</a>
</section>
<style>
.statement {
display: grid;
justify-items: center;
gap: var(--space-l);
padding: var(--space-xl) var(--edge);
background: var(--paper);
color: var(--ink);
text-align: center;
}
.statement__text {
max-width: 19em;
margin: 0;
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 400;
letter-spacing: var(--display-track);
line-height: var(--display-lead);
text-transform: uppercase;
text-wrap: balance;
}
.statement__text em {
font-style: italic;
text-transform: none;
}
.statement__button {
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-m);
border-radius: var(--radius);
background: var(--chip);
color: var(--ink);
font: 500 var(--text-s) var(--font-body);
text-decoration: none;
transition: background-color var(--grid-time) var(--ease);
}
.statement__button:hover,
.statement__button:focus-visible {
background: var(--curtain);
}
.statement__button:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
</style>