Appeal
Centred call to action between two ticked rules: a dotted-outline slab heading with a hatched shade, one heavy sentence and an underlined link.
Part of the style
Wood Type Playbill
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/wood-type-playbill/appeal/figma.html?palette=4174e65dcf850b24
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/wood-type-playbill/appeal/figma.html?palette=4174e65dcf850b24 and pass that whole HTML document to the html_to_figma tool, so the part "Appeal" 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: #e73025;
--ink: #090909;
--ink-mid: rgba(18, 18, 18, 0.8);
--ink-soft: rgba(18, 18, 18, 0.5);
--paper: #fc6d5d;
--night: #4d2130;
--poster-cream: #fc7b6b;
--poster-cobalt: #411c14;
--poster-dusk: #947872;
--poster-red: #d05143;
--hot: #cb6c5e;
--plum: #120000;
--tile-brick: #1f0000;
--poster-lemon: #a07368;
--tile-olive: #947973;
--poster-mint: #de5e4f;
--tile-forest: #740e08;
--tile-leaf: #f74435;
--poster-neon: #a07368;
--poster-heather: #827370;
--tile-violet: #620c07;
--tile-sky: #a07368;
}
</style>
<section class="appeal">
<div class="appeal__inner">
<h2 class="appeal__heading" aria-label="Join the club">
<svg class="appeal__type" viewBox="0 0 750 66" preserveAspectRatio="none" aria-hidden="true" focusable="false">
<defs>
<pattern id="appeal-hatch" width="3.2" height="3.2" patternUnits="userSpaceOnUse" patternTransform="rotate(28)">
<rect class="appeal__hatch-line" width="1.1" height="3.2" />
</pattern>
</defs>
<text class="appeal__shade" x="7" y="63.4" textLength="741.4" lengthAdjust="spacingAndGlyphs">JOIN THE CLUB</text>
<text class="appeal__face" x="1" y="60" textLength="741.4" lengthAdjust="spacingAndGlyphs">JOIN THE CLUB</text>
</svg>
</h2>
<p class="appeal__text">When you join Holler Press, you keep the presses turning, the ink cheap and the door open to anyone with something to say.</p>
<a class="appeal__link" href="#">Become a member</a>
</div>
</section>
<style>
.appeal {
padding: 0 var(--edge) var(--section-space);
}
.appeal__inner {
display: grid;
justify-items: center;
gap: var(--space-l);
padding: var(--space-xl) 0;
text-align: center;
}
/* Rules made of short upright ticks, not a plain dotted border. */
.appeal__inner::before,
.appeal__inner::after {
content: "";
width: 100%;
height: calc(var(--rule-thick) + 1px);
background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px);
}
.appeal__inner::before {
margin-bottom: var(--space-l);
}
.appeal__inner::after {
margin-top: var(--space-l);
}
.appeal__heading {
width: min(100%, 40rem);
margin: 0 0 var(--space-s);
}
/* The slab is drawn at 100px in a box as tall as its capitals, then pulled to the width and height the layout gives it. */
.appeal__type {
display: block;
width: 100%;
aspect-ratio: 750 / calc(66 * var(--display-stretch));
overflow: visible;
font: 900 100px var(--font-display);
}
.appeal__face,
.appeal__shade {
stroke: var(--ink);
stroke-width: 1.5px;
stroke-dasharray: 1.5 2;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
}
.appeal__face {
fill: var(--page);
}
.appeal__shade {
fill: url(#appeal-hatch);
}
.appeal__hatch-line {
fill: var(--ink);
}
.appeal__text {
max-width: 54rem;
margin: 0;
font-size: var(--text-l);
font-weight: 800;
line-height: 1.2;
text-wrap: balance;
}
.appeal__link {
display: inline-flex;
align-items: center;
min-height: var(--tap);
color: inherit;
font-weight: 800;
text-decoration: underline 2px currentColor;
text-underline-offset: 0.22em;
transition: text-decoration-color var(--time) var(--ease);
}
.appeal__link:hover,
.appeal__link:focus-visible {
text-decoration-color: transparent;
}
.appeal__link:focus-visible {
outline: var(--rule-thick) solid var(--ink);
outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
.appeal__link {
transition-duration: 0s;
}
}
</style>