Skip to content
← Public packages

@kentcdodds/kody-connect-talk

Kent C. Dodds's Cloudflare Connect 2026 talk: why your agents' stuff needs a common house, and how Kody builds one on Cloudflare.

FollowForkOpen app

Files

deck.css

623 lines · 12.7 KB · CSS
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: block;
}
@font-face {
  font-family: "Wix Madefor Text";
  src: url("assets/fonts/wix-madefor-text-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: block;
}

/* ---------- theme tokens ---------- */
:root {
  color-scheme: light;
  --bg: #eef0f3;
  --bg-glow: #d9ecdf;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --ink: #181c21;
  --muted: #59626e;
  --line: #c9cfd7;
  --line-strong: #9aa3ae;
  --accent: #15803d;
  --accent-soft: #dcfce7;
  --danger: #c2410c;
  --cf: #f38020;
  --shadow: 0 18px 40px -18px rgba(24, 28, 33, 0.28);
  --code-bg: #f6f7f9;
  --code-kw: #9333ea;
  --code-str: #15803d;
  --code-fn: #1d4ed8;
  --code-com: #7b8491;
  --claude: #d97757;
  --tint-mix: 16%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1216;
    --bg-glow: #13291b;
    --surface: #171b21;
    --surface-2: #1d222a;
    --ink: #eef1f4;
    --muted: #9aa3ad;
    --line: #313843;
    --line-strong: #4b5563;
    --accent: #4ade80;
    --accent-soft: #14301f;
    --danger: #fb923c;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    --code-bg: #12161b;
    --code-kw: #c084fc;
    --code-str: #86efac;
    --code-fn: #93c5fd;
    --code-com: #7d8794;
    --tint-mix: 26%;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1216;
  --bg-glow: #13291b;
  --surface: #171b21;
  --surface-2: #1d222a;
  --ink: #eef1f4;
  --muted: #9aa3ad;
  --line: #313843;
  --line-strong: #4b5563;
  --accent: #4ade80;
  --accent-soft: #14301f;
  --danger: #fb923c;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --code-bg: #12161b;
  --code-kw: #c084fc;
  --code-str: #86efac;
  --code-fn: #93c5fd;
  --code-com: #7d8794;
  --tint-mix: 26%;
}

/* topic hues: one per surface/feature, matching the Kody orbs */
.t-search { --topic: #06b6d4; }
.t-execute { --topic: #10b981; }
.t-cli { --topic: #84cc16; }
.t-mcp { --topic: #6366f1; }
.t-api { --topic: #64748b; }
.t-memory { --topic: #ef4444; }
.t-packages { --topic: #3b82f6; }
.t-triggers { --topic: #eab308; }
.t-credentials { --topic: #22c55e; }
.t-apps { --topic: #a855f7; }
.t-sharing { --topic: #ec4899; }
.t-cloudflare { --topic: #f38020; }
.t-search, .t-execute, .t-cli, .t-mcp, .t-api, .t-memory, .t-packages, .t-triggers,
.t-credentials, .t-apps, .t-sharing, .t-cloudflare {
  --tint: color-mix(in oklab, var(--topic) var(--tint-mix), var(--bg));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Wix Madefor Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- scene scaffolding ---------- */
.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.stage {
  position: absolute;
  inset: 0;
  background: radial-gradient(1400px 760px at 50% 118%, var(--bg-glow) 0%, var(--bg) 62%);
}
.stage.tinted {
  background: radial-gradient(1200px 900px at 50% 50%, color-mix(in oklab, var(--topic) 34%, var(--tint)) 0%, var(--tint) 70%);
}
.inner {
  position: absolute;
  inset: 0;
}
.wipe {
  position: absolute;
  inset: 0;
  background: var(--tint);
  clip-path: circle(0px at 50% 50%);
  opacity: 0;
  pointer-events: none;
}

/* ---------- type ---------- */
.display,
.headline,
.label {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}
.headline {
  position: absolute;
  left: 120px;
  right: 120px;
  top: 84px;
  font-weight: 720;
  font-size: 92px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.headline em,
.display em {
  font-style: normal;
  color: var(--accent);
}
.t-search .headline em, .t-execute .headline em, .t-cli .headline em,
.t-memory .headline em, .t-packages .headline em, .t-triggers .headline em,
.t-credentials .headline em, .t-apps .headline em, .t-sharing .headline em,
.t-cloudflare .headline em {
  color: color-mix(in oklab, var(--topic) 70%, var(--ink));
}
.label {
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.01em;
}
.muted {
  color: var(--muted);
}
.body {
  font-size: 46px;
  line-height: 1.3;
}

/* ---------- wayfinding (topic slides) ---------- */
.wayfind {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 30px;
  color: var(--muted);
}
.wayfind-topic {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.wayfind-topic .badge {
  width: 52px;
  height: 52px;
}
.steps {
  display: flex;
  gap: 32px;
}
.steps span {
  position: relative;
}
.steps span.on {
  color: var(--ink);
}
.steps span.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  border-radius: 2px;
  background: var(--topic, var(--accent));
}

/* ---------- people, houses, orbs ---------- */
.orb {
  display: block;
  width: 96px;
  height: 96px;
}
.person {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #15803d;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 10px #4ade80;
}
.person svg {
  width: 64px;
  height: 64px;
}
.person.blue {
  background: #1d4ed8;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 10px #60a5fa;
}
.person.amber {
  background: #b45309;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 10px #fbbf24;
}
.who {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.who-name {
  margin-top: 22px;
  font-size: 40px;
  font-weight: 600;
}
.house {
  position: absolute;
  width: 520px;
  height: 560px;
}
.house > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.house-shape {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 6;
  stroke-linejoin: round;
}
.house-tag {
  position: absolute;
  left: 0;
  right: 0;
  top: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 38px;
}
.house-room {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 250px;
  bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 18px;
}
.agent-logo {
  width: 56px;
  height: 56px;
  color: var(--ink);
  flex: none;
  cursor: pointer;
}


/* ---------- cards, code, terminal, diagram ---------- */
.card {
  position: absolute;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.code {
  position: absolute;
  background: var(--code-bg);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 44px 52px;
  font-family: ui-monospace, monospace;
  font-size: 38px;
  line-height: 1.5;
  white-space: pre;
  color: var(--ink);
}
.code .kw { color: var(--code-kw); }
.code .str { color: var(--code-str); }
.code .fn { color: var(--code-fn); }
.code .com { color: var(--code-com); }
.code .hl {
  background: color-mix(in oklab, var(--topic, var(--accent)) 22%, transparent);
  border-radius: 8px;
  padding: 0 6px;
  margin: 0 -6px;
}
.term {
  position: absolute;
  background: #0b0d10;
  color: #e5e7eb;
  border-radius: 20px;
  padding: 0 0 40px;
  font-family: ui-monospace, monospace;
  font-size: 38px;
  line-height: 1.55;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.term-bar {
  display: flex;
  gap: 12px;
  padding: 22px 28px;
  margin-bottom: 18px;
  background: #16191e;
}
.term-bar i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3a3f47;
}
.term-line {
  padding: 0 44px;
  white-space: pre;
}
.term .p { color: #4ade80; }
.term .ok { color: #4ade80; }
.term .dim { color: #8b939e; }
.caret {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  vertical-align: -0.18em;
  background: currentColor;
}
.typed {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: pre;
}

.node {
  position: absolute;
  width: 360px;
  padding: 30px 34px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.node .label {
  font-size: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.node .sub {
  margin-top: 8px;
  font-size: 32px;
  white-space: nowrap;
  line-height: 1.3;
  color: var(--muted);
}
.node.cf {
  border-color: color-mix(in oklab, var(--cf) 60%, var(--line));
}
.node.plain {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
}
.wires {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  overflow: visible;
  pointer-events: none;
}
.wire {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 2 14;
}
.wire-head {
  fill: var(--line-strong);
}
.legend-cf {
  position: absolute;
  right: 120px;
  top: 108px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 30px;
  color: var(--muted);
}
.legend-cf::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cf);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--surface);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 38px;
  white-space: nowrap;
}
.bubble {
  position: absolute;
  max-width: 900px;
  padding: 26px 36px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 42px;
  line-height: 1.3;
}
.bubble.me {
  background: color-mix(in oklab, var(--topic, var(--accent)) 18%, var(--surface));
}
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: color-mix(in oklab, var(--accent) 30%, transparent);
}

/* ---------- Cloudflare Connect: title + closing slides ---------- */
/* Brand surfaces, the same in light and dark. */
.stage.connect {
  background-color: #f46021;
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.2) 2px, transparent 2.4px);
  background-size: 24px 24px;
  color: #fff;
}
.t-connect { --tint: #f46021; }
.t-page { --tint: var(--bg); }
.cx-top {
  position: absolute;
  left: 96px;
  right: 96px;
  top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cx-track {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cx-track img { height: 26px; }
.cx-mark { height: 64px; }
.cx-h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 124px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.cx-h1 > span { display: block; }
.cx-swap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.cx-swap::before,
.cx-swap::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}
.cx-swap[data-glitch="1"] {
  text-shadow: 0.045em 0 #7ef0ff, -0.04em 0 #ff5d86;
  transform: translate(var(--w-x, 0), var(--w-y, 0));
}
.cx-swap[data-glitch="1"]::before,
.cx-swap[data-glitch="1"]::after { opacity: 0.9; }
.cx-swap[data-glitch="1"]::before {
  color: #7ef0ff;
  clip-path: inset(var(--a-t, 8%) 0 var(--a-b, 55%) 0);
  transform: translate(var(--a-x, -8px), var(--a-y, 0));
}
.cx-swap[data-glitch="1"]::after {
  color: #ff5d86;
  clip-path: inset(var(--b-t, 48%) 0 var(--b-b, 8%) 0);
  transform: translate(var(--b-x, 8px), var(--b-y, 0));
}
.cx-swap[data-drop="1"] { opacity: 0; }
.cx-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 1.26em;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.26;
  white-space: nowrap;
}
.cx-sub .caret {
  width: 4px;
  height: 0.82em;
  border-radius: 1px;
  vertical-align: middle;
}
.cx-speaker {
  position: absolute;
  left: 96px;
  bottom: 96px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.cx-speaker img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px rgb(255 255 255 / 0.9);
}
.cx-name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 46px;
  font-weight: 700;
}
.cx-role {
  font-size: 36px;
  font-weight: 600;
}
.cx-wordmark {
  position: absolute;
  right: 96px;
  bottom: 104px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 60px;
  font-weight: 640;
  letter-spacing: -0.02em;
}
.wipe.t-connect {
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.2) 2px, transparent 2.4px);
  background-size: 24px 24px;
}