kitbash Sign in Connect agent
Components

Serif statement and mono log

Centred serif paragraph with drawn inline glyphs, then a ragged mono log beside a file icon, decoding as it enters.

Part of the style

Pewter Haze Readout

7 parts that belong together, with their tokens, type and rules.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --fog-core: #5a4e4e;
  --fog-mid: #251a1a;
  --fog-edge: #000000;
  --night: #000000;
  --ink: #fbf4ee;
  --ink-soft: rgba(251, 244, 238, 0.62);
  --ink-faint: rgba(251, 244, 238, 0.28);
  --veil: rgba(251, 244, 238, 0.08);
  --shade: rgba(0, 0, 0, 0.35);
  --iris-a: #87645e;
  --iris-b: #87645e;
  --iris-c: #87645e;
  --iris-d: #87645e;
}
</style>

<section class="statement">
  <div class="statement__lead">
    <p class="statement__para">We are Kelda <svg class="statement__glyph" viewBox="0 0 32 32" aria-hidden="true" focusable="false"><circle cx="16" cy="16" r="13"/><circle cx="11.5" cy="13" r="1.2"/><circle cx="20.5" cy="13" r="1.2"/><path d="M10 19c3 4 9 4 12 0"/><path d="M16 3v-2M16 31v2M3 16h-2M29 16h2"/></svg>, a small studio building rooms of slooow light, low sound &amp; things you can stand inside.</p>
    <p class="statement__para">We like taking an idea <svg class="statement__glyph statement__glyph--spark" viewBox="0 0 48 24" aria-hidden="true" focusable="false"><path d="M2 12h44M24 4c-1 5-3 7-8 8 5 1 7 3 8 8 1-5 3-7 8-8-5-1-7-3-8-8z"/></svg> from a sketch to a working room, with patient code and real glass.</p>
  </div>

  <div class="statement__log">
    <svg class="statement__file" viewBox="0 0 40 52" aria-hidden="true" focusable="false"><path d="M1 1h26l12 12v38H1z M27 1v12h12"/><text x="20" y="34" text-anchor="middle">LOG</text></svg>
    <p class="statement__mono" data-text="Since 2016 we have built   rooms for museums,
festivals and   one very patient church
            that mix light, sound
                    and slow code.

From a single lamp   to a whole
          flooded hall,

our aim is   always   to make
a place     that answers back,
               a little late, a little warm.">Since 2016 we have built   rooms for museums,
festivals and   one very patient church
            that mix light, sound
                    and slow code.

From a single lamp   to a whole
          flooded hall,

our aim is   always   to make
a place     that answers back,
               a little late, a little warm.</p>
  </div>
</section>

<style>
  .statement {
    display: grid;
    gap: var(--space-xl);
    padding: var(--section) var(--edge);
  }
  .statement__lead {
    display: grid;
    gap: var(--space-l);
    max-width: 46rem;
    margin: 0 auto;
  }
  .statement__para {
    margin: 0;
    font: 400 var(--display-m)/var(--leading-statement) var(--font-display);
    letter-spacing: var(--track-display);
    text-align: center;
    text-wrap: balance;
  }
  .statement__glyph {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    vertical-align: -0.12em;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.6;
    stroke-linecap: round;
    transition: rotate var(--glide) var(--ease);
  }
  .statement__glyph circle:not(:first-child) { fill: var(--ink); stroke: none; }
  .statement__glyph--spark { width: 1.6em; }
  .statement__glyph--spark path:last-child { fill: var(--ink); }
  .statement__para:hover .statement__glyph { rotate: 20deg; }
  .statement__log {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-m);
    width: min(36rem, 100%);
    margin: 0 auto;
  }
  .statement__file {
    width: 2.25rem;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1;
  }
  .statement__file text {
    fill: var(--ink);
    stroke: none;
    font: 400 9px var(--font-mono);
  }
  .statement__mono {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  @media (max-width: 40rem) {
    .statement__mono { font-size: var(--text-s); white-space: pre-line; }
  }
</style>

<script>
(() => {
  const glyphs = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789*/<>#';
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  for (const root of document.querySelectorAll('.statement')) {
    const el = root.querySelector('.statement__mono');
    const text = el.dataset.text;
    const run = () => {
      let done = 0;
      clearInterval(el._timer);
      el._timer = setInterval(() => {
        done += 14;
        el.textContent = [...text].map((ch, i) => (/\s/.test(ch) || i < done ? ch : glyphs[Math.floor(Math.random() * glyphs.length)])).join('');
        if (done >= text.length) { clearInterval(el._timer); el.textContent = text; }
      }, 28);
    };
    if (still.matches) continue;
    new IntersectionObserver((entries, seen) => {
      if (entries[0].isIntersecting) { run(); seen.disconnect(); }
    }, { threshold: 0.2 }).observe(el);
  }
})();
</script>

Similar components

Credits statement

Credits statement

Serif statement and lists

Serif statement and lists

Italic-emphasis statement

Italic-emphasis statement

Quote and three rails

Quote and three rails

Spread-letter practice

Spread-letter practice

Lit statement card

Lit statement card

Project chapter

Project chapter

Drifting statement

Drifting statement