Insights
Rows of serif essay titles with an outlined season pill and a small dark Read the article button, closed by a wide outlined View all insights button.
Part of the style
Cut-Out Playhouse
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/cut-out-playhouse/insights/figma.html?palette=7db3ddbb7c2a9014
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/cut-out-playhouse/insights/figma.html?palette=7db3ddbb7c2a9014 and pass that whole HTML document to the html_to_figma tool, so the part "Insights" 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 {
--page: #474d37;
--paper: #3c412b;
--ink: #f6f6ea;
--ink-soft: #c4c4b5;
--ink-faint: #9da18f;
--shadow: rgba(246, 246, 234, 0.22);
--cut-cream: #4b503a;
--cut-steel: #7e826f;
--cut-coal: #eaeadd;
--marker: #7e6939;
--cut-ochre: #776847;
--cut-moss: #3f3622;
--cut-sky: #896210;
--cut-rust: #84805a;
--cut-skin: #6b6956;
--cut-plum: #bca574;
}
</style>
<section class="insights" aria-labelledby="insights-heading">
<h2 class="insights__heading" id="insights-heading">Insights</h2>
<ul class="insights__list">
<li class="insights__row">
<a class="insights__title" href="#">What a chorus knows that a soloist forgets</a>
<span class="insights__tag">Season 27–28</span>
<a class="insights__button" href="#" aria-label="Read the article: What a chorus knows that a soloist forgets">Read the article</a>
</li>
<li class="insights__row">
<a class="insights__title" href="#">Rehearsing in a building that leaks</a>
<span class="insights__tag">Backstage</span>
<a class="insights__button" href="#" aria-label="Read the article: Rehearsing in a building that leaks">Read the article</a>
</li>
<li class="insights__row">
<a class="insights__title" href="#">Eleven ways to stage the weather</a>
<span class="insights__tag">Season 27–28</span>
<a class="insights__button" href="#" aria-label="Read the article: Eleven ways to stage the weather">Read the article</a>
</li>
</ul>
<a class="insights__all" href="#">View all insights</a>
</section>
<style>
.insights {
padding: var(--space-l) var(--edge) var(--space-xl);
background: var(--paper);
color: var(--ink-soft);
}
.insights__heading {
margin: 0;
padding-bottom: var(--space-s);
border-bottom: var(--hairline) solid var(--ink-soft);
font-size: var(--text-s);
font-weight: 400;
}
.insights__list {
margin: 0 0 var(--space-m);
padding: 0;
list-style: none;
}
.insights__row {
display: grid;
grid-template-columns: minmax(0, 1fr) 12rem auto;
align-items: center;
column-gap: var(--space-m);
padding: var(--space-m) 0;
border-bottom: var(--hairline) solid var(--ink-soft);
}
.insights__title {
display: flex;
align-items: center;
min-height: var(--tap);
color: var(--ink-soft);
font-family: var(--font-serif);
font-size: var(--serif-m);
line-height: 1;
letter-spacing: var(--tracking-serif);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.15em;
text-decoration-color: transparent;
transition: text-decoration-color var(--slow) ease, color var(--slow) ease;
}
.insights__title:hover,
.insights__title:focus-visible {
color: var(--ink);
text-decoration-color: currentColor;
outline: none;
}
.insights__tag {
justify-self: start;
padding: 0.1rem 0.5rem 0.15rem;
border: var(--hairline) solid var(--ink-soft);
border-radius: var(--radius-pill);
font-size: var(--text-s);
line-height: 1.3;
white-space: nowrap;
}
.insights__button {
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-m);
border-radius: var(--radius-button);
background: var(--ink-soft);
color: var(--paper);
font-size: var(--text-s);
text-decoration: none;
white-space: nowrap;
transition: background-color var(--slow) ease;
}
.insights__button:hover,
.insights__button:focus-visible { background: var(--ink); }
.insights__all {
display: flex;
align-items: center;
justify-content: center;
min-height: 3.5rem;
border: var(--hairline) solid var(--ink-soft);
border-radius: var(--radius-button);
color: var(--ink-soft);
text-decoration: none;
transition: background-color var(--slow) ease, border-color var(--slow) ease;
}
.insights__all:hover,
.insights__all:focus-visible { background: var(--page); border-color: var(--ink); }
@media (max-width: 48rem) {
.insights__row {
grid-template-columns: 1fr;
row-gap: var(--space-m);
padding: var(--space-l) 0;
}
.insights__title { font-size: var(--serif-l); line-height: 1.02; }
.insights__tag { grid-row: 1; font-size: var(--text-m); }
.insights__button { display: none; }
}
</style>