Footer
A small black mark stepped like a quarry face with the name set to its width, one line of fine print and two small grotesk links, all sitting on the bottom edge of a tall white space.
Part of the style
Violet Difference
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/violet-difference/footer/figma.html?palette=bc3c15bc00a286f1&type=hostile-hud
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/violet-difference/footer/figma.html?palette=bc3c15bc00a286f1&type=hostile-hud and pass that whole HTML document to the html_to_figma tool, so the part "Footer" 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 */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap");
:root {
--paper: #d5e8e6;
--ink: #5e352b;
--idle: #b1cac8;
--tray: #cbe0de;
--plate: #8caca9;
--violet: #ba9b8c;
--font-mark: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
--font-caps: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
--font-text: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
}
</style>
<footer class="footer">
<a class="footer__home" href="#" aria-label="Keldstone, home">
<svg class="footer__mark" viewBox="0 0 112 92" aria-hidden="true" focusable="false">
<path d="M0 72V0h25v18h29v18h29v18h29v18z"/>
<text x="-1.2" y="91.7" textLength="114.2" lengthAdjust="spacingAndGlyphs">KELDSTONE</text>
</svg>
</a>
<p class="footer__note">Trade and studio orders only. Slabs leave the quarry on Thursdays.</p>
<nav class="footer__links" aria-label="Footer">
<a class="footer__link" href="#">About us</a>
<a class="footer__link" href="#">Contact</a>
</nav>
</footer>
<style>
.footer {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: end;
gap: var(--space-l);
padding: var(--space-xl) var(--gutter) var(--gutter);
background: var(--paper);
font-size: var(--text-fine);
line-height: 1;
}
/* The mark is one black block stepped like a quarry face, with the name set to its width underneath. */
.footer__home {
display: block;
width: 7rem;
color: var(--ink);
}
.footer__mark {
display: block;
width: 100%;
fill: currentColor;
font: 800 19px var(--font-mark);
}
.footer__home:hover,
.footer__home:focus-visible {
color: var(--violet);
outline: none;
}
.footer__note {
margin: 0;
padding-bottom: 0.1rem;
text-wrap: balance;
}
.footer__links {
display: flex;
gap: var(--space-m);
margin-bottom: calc((1em - var(--tap)) / 2);
}
.footer__link {
display: inline-flex;
align-items: center;
min-height: var(--tap);
color: var(--ink);
text-decoration: underline transparent;
text-underline-offset: 0.25em;
transition: text-decoration-color var(--time) var(--ease);
}
.footer__link:hover,
.footer__link:focus-visible {
text-decoration-color: currentColor;
}
.footer__link:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
@media (max-width: 40rem) {
.footer {
grid-template-columns: 1fr auto;
}
.footer__note {
grid-column: 1 / -1;
grid-row: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.footer__link {
transition-duration: 0s;
}
}
</style>