Skip to content

Open-source skills for designing and reviewing software with AI agents

Separate website refinements from shared skill assets

n3wthae5817e767b2
diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml
index 3766f99..6c30c7e 100644
--- a/.github/workflows/deploy-site.yml
+++ b/.github/workflows/deploy-site.yml
@@ -28,7 +28,6 @@ on:
branches: [main]
paths:
- 'site/**'
- - 'skills/*/assets/*.svg'
- '.github/workflows/deploy-site.yml'
workflow_dispatch:
diff --git a/docs/designs/skill_icons.md b/docs/designs/skill_icons.md
index 8e30171..f2cd700 100644
--- a/docs/designs/skill_icons.md
+++ b/docs/designs/skill_icons.md
@@ -5,7 +5,8 @@ Author: @n3wth. Date: 2026-10-25.
## Purpose and scope
-Use the same seven skill marks in plugin pickers, the README, and egm.dev.
+Use the same seven skill marks in plugin pickers and the README, with egm.dev
+integration in a separate follow-up PR.
The approved artwork uses familiar silhouettes with two color facets. This
change replaces the existing skill artwork; it does not change skill behavior,
reviewer permissions, installation, or the Elephant-Goldfish logo.
@@ -38,19 +39,14 @@ artwork; do not normalize individual bounding boxes or stroke widths.
reviewer color keywords and the plugin-level logo stay unchanged.
- The root README references the canonical paths directly. These relative
paths also resolve inside generated runtime packages.
-- The site imports the canonical SVGs at build time. A shared `SkillIcon`
- component renders a 28 px glyph in a 40 px neutral circle using the site's
- surface tokens. Circles are presentation, not baked into the asset.
- Keep adjacent skill names and empty image alt text to avoid duplicate
- announcements. Brainstorm, Draft, and Review form the three-step sequence;
- a sentence below it explains the handoff to implementation after approval.
-- The site workflow watches canonical SVG changes as well as `site/` changes.
+- The website follow-up will import these SVGs at build time, keep circles
+ in the presentation layer, and use adjacent labels for accessible names.
+ Website layout, copy, deployment triggers, and captures belong to that PR.
## Verification and rollout
-Check metadata colors and SVG structure, runtime byte equality, README image
-inclusion, Astro type checking and production build. Inspect desktop and
-mobile layouts in both color schemes and refresh committed site captures.
+Check metadata colors and SVG structure, runtime byte equality, and README
+image inclusion. Website integration receives its own build and visual checks.
All seven marks must remain legible beside their labels.
This proposal builds on runtime-packaging PR #136. Its draft status does not
diff --git a/site/README.md b/site/README.md
index ec7475c..9479eb8 100644
--- a/site/README.md
+++ b/site/README.md
@@ -12,11 +12,7 @@ GitHub Pages.
![Full page, light scheme](screenshots/full-light.png)
-![Full page, dark scheme](screenshots/full-dark.png)
-
-![Mobile, light scheme, 375px wide](screenshots/mobile.png)
-
-![Mobile, dark scheme, 375px wide](screenshots/mobile-dark.png)
+![Mobile, 375px wide](screenshots/mobile.png)
</details>
@@ -38,17 +34,6 @@ GitHub Pages.
components' documented custom properties. Do not restyle component boxes.
- Keep skill names and commands identical to the repository README.
-## Skill icons
-
-`src/components/SkillIcon.astro` imports the canonical
-`../skills/egm_*/assets/icon.svg` files with `?url`. The website and plugin packages
-use these same assets; do not copy them into `public/` or redraw them in components.
-Each decorative glyph is 28px inside a 40px circle using the existing surface
-tokens, with an adjacent skill name or command providing its accessible label.
-The workflow and skill catalog share this component. The workflow shows
-Brainstorm, Draft, and Review, followed by a short handoff to the coding agent and
-a separate Check for drift follow-up after implementation.
-
## Develop
```sh
diff --git a/site/screenshots/full-dark.png b/site/screenshots/full-dark.png
deleted file mode 100644
index 2dfb041..0000000
Binary files a/site/screenshots/full-dark.png and /dev/null differ
diff --git a/site/screenshots/full-light.png b/site/screenshots/full-light.png
index 0b02841..a61fd81 100644
Binary files a/site/screenshots/full-light.png and b/site/screenshots/full-light.png differ
diff --git a/site/screenshots/hero-dark.png b/site/screenshots/hero-dark.png
index 680efc9..0fb906f 100644
Binary files a/site/screenshots/hero-dark.png and b/site/screenshots/hero-dark.png differ
diff --git a/site/screenshots/hero-light.png b/site/screenshots/hero-light.png
index 7c6fe6f..fd458ab 100644
Binary files a/site/screenshots/hero-light.png and b/site/screenshots/hero-light.png differ
diff --git a/site/screenshots/mobile-dark.png b/site/screenshots/mobile-dark.png
deleted file mode 100644
index 40f5ee2..0000000
Binary files a/site/screenshots/mobile-dark.png and /dev/null differ
diff --git a/site/screenshots/mobile.png b/site/screenshots/mobile.png
index f7c4137..e3b4862 100644
Binary files a/site/screenshots/mobile.png and b/site/screenshots/mobile.png differ
diff --git a/site/scripts/capture.mjs b/site/scripts/capture.mjs
index e30f66e..9648f26 100644
--- a/site/scripts/capture.mjs
+++ b/site/scripts/capture.mjs
@@ -60,9 +60,7 @@ try {
await capture({ url: `${base}/`, out: 'screenshots/hero-light.png', width: 1200, height: 600 });
await capture({ url: `${base}/`, out: 'screenshots/hero-dark.png', width: 1200, height: 600, scheme: 'dark' });
await capture({ url: `${base}/`, out: 'screenshots/full-light.png', width: 1000, height: 800, fullPage: true });
- await capture({ url: `${base}/`, out: 'screenshots/full-dark.png', width: 1000, height: 800, scheme: 'dark', fullPage: true });
- await capture({ url: `${base}/`, out: 'screenshots/mobile.png', width: 375, height: 812, fullPage: true });
- await capture({ url: `${base}/`, out: 'screenshots/mobile-dark.png', width: 375, height: 812, scheme: 'dark', fullPage: true });
+ await capture({ url: `${base}/`, out: 'screenshots/mobile.png', width: 375, height: 812 });
} finally {
await browser.close();
server.close();
diff --git a/site/src/components/Footer.astro b/site/src/components/Footer.astro
index 7a77635..38ad054 100644
--- a/site/src/components/Footer.astro
+++ b/site/src/components/Footer.astro
@@ -3,6 +3,7 @@
const repo = 'https://github.com/google/elephant-goldfish-model';
const links = [
+ { label: 'GitHub', href: repo },
{ label: 'Apache 2.0', href: `${repo}/blob/HEAD/LICENSE` },
{ label: 'Privacy', href: 'https://policies.google.com/privacy' },
{ label: 'Terms', href: 'https://policies.google.com/terms' },
@@ -51,9 +52,10 @@ const links = [
<style>
.footer {
- padding-block: 0 24px;
+ padding-block: 0 40px;
}
+
/* One row: legal on the left, links on the right. When the row cannot hold both,
the links wrap under the legal line, both flush left. */
.bar {
@@ -61,8 +63,8 @@ const links = [
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
- gap: 4px 24px;
- padding-block-start: 16px;
+ gap: 16px 40px;
+ padding-block-start: 28px;
}
/* Same size as the links so the row reads as one line. */
@@ -70,16 +72,15 @@ const links = [
display: flex;
flex-wrap: wrap;
align-items: center;
- gap: 4px 8px;
- font: var(--md-sys-typescale-label-md);
- font-weight: 400;
+ gap: 8px 16px;
+ font: var(--md-sys-typescale-label-lg);
}
/* The G takes the legal line's color. */
.g {
flex: none;
- inline-size: 14px;
- block-size: 14px;
+ inline-size: 16px;
+ block-size: 16px;
fill: currentColor;
}
@@ -89,14 +90,11 @@ const links = [
padding: 0;
display: flex;
flex-wrap: wrap;
- gap: 4px 20px;
+ gap: 8px 24px;
}
li a {
- display: inline-flex;
- align-items: center;
- min-block-size: 24px;
- font: var(--md-sys-typescale-label-md);
+ font: var(--md-sys-typescale-label-lg);
text-decoration: none;
color: var(--md-sys-color-on-surface-variant);
}
diff --git a/site/src/components/Hero.astro b/site/src/components/Hero.astro
index aaadb05..93cc313 100644
--- a/site/src/components/Hero.astro
+++ b/site/src/components/Hero.astro
@@ -7,8 +7,8 @@ const prompt = 'Install https://github.com/google/elephant-goldfish-model';
<section class="hero" id="top">
<div class="wrap hero-inner">
<h1 class="display">
- Design with an elephant.<br />
- Review with a goldfish.
+ Design with an elephant<br />
+ Review with a goldfish
</h1>
<p class="lead">
Thousands of Google engineers use this <span class="nowrap">open-source</span> plugin to
diff --git a/site/src/components/Install.astro b/site/src/components/Install.astro
index 88f7fc5..8bbfeaa 100644
--- a/site/src/components/Install.astro
+++ b/site/src/components/Install.astro
@@ -35,7 +35,7 @@ const cliPaths = [
<section class="section install" id="install">
<div class="wrap">
<div class="section-head">
- <h2 class="headline">Install the plugin.</h2>
+ <h2 class="headline">Install the plugin</h2>
</div>
<div class="paths">
diff --git a/site/src/components/Loop.astro b/site/src/components/Loop.astro
index eadae74..c722f1e 100644
--- a/site/src/components/Loop.astro
+++ b/site/src/components/Loop.astro
@@ -1,58 +1,77 @@
---
-import SkillIcon from './SkillIcon.astro';
-
const steps = [
{
name: 'Brainstorm',
- icon: 'brainstorm',
+ role: 'Elephant',
command: '/egm-brainstorm',
body: 'Clarify a rough idea through open-ended questioning and stress-test the hypothesis into a concept brief.',
},
{
name: 'Draft',
- icon: 'draft',
+ role: 'Elephant',
command: '/egm-draft',
body: 'Turn the brief into a living design doc under docs/designs/, section by section.',
},
{
name: 'Review',
- icon: 'review',
+ role: 'Goldfish',
command: '/egm-review',
body: 'Fresh zero-context Goldfish subagents check completeness, clarity, self-containment, and implementation readiness.',
},
-] as const;
+];
---
<section class="section loop">
<div class="wrap">
<div class="section-head">
- <h2 class="headline">Go from an idea to a verified spec.</h2>
+ <h2 class="headline">From idea to a verified spec</h2>
</div>
<ol class="steps">
{
- steps.map((step) => (
+ steps.map((step, i) => (
<li class="step">
- <span class="marker"><SkillIcon skill={step.icon} /></span>
- <h3 class="title">{step.name}</h3>
- <span class="cmd">{step.command}</span>
+ <span class="badge badge-large">{i + 1}</span>
+ <div class="title-row">
+ <h3 class="title">{step.name}</h3>
+ <span class="role">{step.role}</span>
+ </div>
+ <code class="cmd">{step.command}</code>
<p class="muted">{step.body}</p>
</li>
))
}
+ <li class="step">
+ <span class="badge badge-large" aria-hidden="true">
+ <svg viewBox="0 -960 960 960">
+ <path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"></path>
+ </svg>
+ </span>
+ <div class="title-row">
+ <h3 class="title">Build the code</h3>
+ <span class="role">You</span>
+ </div>
+ <span class="no-skill">No skill needed</span>
+ <p class="muted">
+ Hand the verified spec directly to your coding agent to build the feature.
+ </p>
+ </li>
+ <li class="step drift">
+ <span class="marker" aria-hidden="true">
+ <svg viewBox="0 -960 960 960">
+ <path
+ d="M204-318q-22-38-33-78t-11-82q0-134 93-228t227-94h7l-64-64 56-56 160 160-160 160-56-56 64-64h-7q-100 0-170 70.5T240-478q0 26 6 51t18 49l-60 60ZM481-40 321-200l160-160 56 56-64 64h7q100 0 170-70.5T720-482q0-26-6-51t-18-49l60-60q22 38 33 78t11 82q0 134-93 228t-227 94h-7l64 64-56 56Z"
+ ></path>
+ </svg>
+ </span>
+ <div class="drift-head">
+ <h3 class="title">Then weekly</h3>
+ <code class="cmd">/egm-drift-report</code>
+ </div>
+ <p class="muted">
+ Compare your codebase against your specs to find where they diverge.
+ </p>
+ </li>
</ol>
- <p class="handoff muted">
- Once you approve the spec, ask your coding agent to build it.
- </p>
- <div class="step drift">
- <span class="marker"><SkillIcon skill="drift_report" /></span>
- <div class="drift-head">
- <h3 class="title">Check for drift</h3>
- <span class="cmd">/egm-drift-report</span>
- </div>
- <p class="muted">
- After implementation, compare the code with the spec and report where they diverge.
- </p>
- </div>
</div>
</section>
@@ -61,13 +80,13 @@ const steps = [
background: var(--md-sys-color-surface-container-low);
}
- /* One continuous rule carries the sequence; each step's marker sits on the line. */
+ /* One continuous rule carries the sequence; each step's number sits on the line. */
.steps {
list-style: none;
margin: 0;
padding: 0;
display: grid;
- grid-template-columns: repeat(3, minmax(0, 1fr));
+ grid-template-columns: repeat(4, minmax(0, 1fr));
row-gap: 48px;
}
@@ -80,40 +99,99 @@ const steps = [
display: flex;
flex-direction: column;
gap: 10px;
- padding-block-start: 44px;
+ padding-block-start: 32px;
padding-inline-end: 24px;
border-block-start: 1px solid var(--md-sys-color-outline-variant);
}
- .steps .step:last-child {
+ .step:nth-child(4n) {
padding-inline-end: 0;
}
- /* The outline in the band color lifts each marker off the rule. */
+ /* Badge theming through its documented custom properties. The outline in the band
+ color lifts the number off the rule. */
+ .step :global(.badge),
.marker {
+ --label-text: var(--md-sys-typescale-label-lg);
+ --size: 28px;
position: absolute;
- inset-block-start: -20px;
+ inset-block-start: -14px;
inset-inline-start: 0;
outline: 6px solid var(--md-sys-color-surface-container-low);
- display: flex;
- inline-size: 40px;
- block-size: 40px;
+ }
+
+ /* Elephant steps (Brainstorm, Draft) and the Goldfish step (Review) use the brand marks. */
+ .step:nth-child(1) :global(.badge),
+ .step:nth-child(2) :global(.badge) {
+ --container-color: var(--egm-color-elephant);
+ --label-text-color: var(--egm-color-on-elephant);
+ }
+
+ .step:nth-child(3) :global(.badge) {
+ --container-color: var(--egm-color-goldfish);
+ --label-text-color: var(--egm-color-on-goldfish);
+ }
+
+ .step:nth-child(4) :global(.badge) {
+ --container-color: var(--md-sys-color-primary);
+ --label-text-color: var(--md-sys-color-on-primary);
+ }
+
+ .marker {
+ display: grid;
+ place-items: center;
+ inline-size: 28px;
+ block-size: 28px;
border-radius: 50%;
+ background: var(--md-sys-color-surface-container-low);
+ border: 1px solid var(--md-sys-color-outline);
+ color: var(--md-sys-color-on-surface);
}
- .handoff {
- margin-block: 32px 52px;
+ .step :global(.badge) > svg,
+ .marker > svg {
+ inline-size: 16px;
+ block-size: 16px;
+ fill: currentColor;
}
.cmd {
font-size: 0.875rem;
+ color: var(--md-sys-color-on-surface);
+ background: var(--md-sys-color-surface-container-high);
+ border-radius: 6px;
+ padding: 2px 8px;
+ inline-size: fit-content;
+ }
+
+ /* Role sits beside the heading, not inside it, so screen readers announce the heading as just the step name. */
+ .title-row {
+ display: flex;
+ align-items: baseline;
+ gap: 8px;
+ }
+
+ .role {
+ font: var(--md-sys-typescale-label-lg);
+ color: var(--md-sys-color-on-surface-variant);
+ }
+
+ .no-skill {
+ font: var(--md-sys-typescale-label-md);
+ font-size: 0.875rem;
+ letter-spacing: 0;
color: var(--md-sys-color-on-surface-variant);
+ border: 1px dashed var(--md-sys-color-outline);
+ border-radius: 6px;
+ padding: 2px 8px;
+ inline-size: fit-content;
}
- /* The drift check follows implementation, laid across the whole rule. */
+ /* The weekly check is not a fifth step: same anatomy, laid across the whole rule. */
.drift {
+ grid-column: 1 / -1;
display: grid;
- grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
+ grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
column-gap: 0;
align-items: start;
padding-inline-end: 0;
@@ -132,14 +210,33 @@ const steps = [
padding-block-start: 2px;
}
- @media (width < 760px) {
+ @media (max-width: 1000px) {
+ .steps {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+
+ .step:nth-child(4n) {
+ padding-inline-end: 24px;
+ }
+
+ .step:nth-child(2n) {
+ padding-inline-end: 0;
+ }
+
+ .drift {
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
+ }
+ }
+
+ @media (max-width: 560px) {
.steps {
grid-template-columns: 1fr;
- row-gap: 52px;
+ row-gap: 40px;
}
- .step {
- padding-block-start: 40px;
+ .step,
+ .step:nth-child(2n),
+ .step:nth-child(4n) {
padding-inline-end: 0;
}
diff --git a/site/src/components/Model.astro b/site/src/components/Model.astro
index 8bd6da8..a67a42f 100644
--- a/site/src/components/Model.astro
+++ b/site/src/components/Model.astro
@@ -8,7 +8,7 @@ const essay =
<section class="section" id="model">
<div class="wrap">
<div class="section-head">
- <h2 class="headline">Design with context. Review with fresh eyes.</h2>
+ <h2 class="headline">How the model works</h2>
<p class="lead">
<a href="https://dkr.bio" target="_blank" rel="noopener">Dave Rensin</a> introduces this
approach in{' '}
@@ -43,21 +43,40 @@ const essay =
</article>
</div>
- <p class="approval muted">
- You make the architectural decisions and approve the spec before implementation.
- </p>
+ <hr class="divider" />
+
+ <div class="human">
+ <div>
+ <h3 class="title">You</h3>
+ <p class="role-sub">Final decision</p>
+ </div>
+ <p class="muted">
+ Agents explore options and audit drafts, while engineers make the architectural trade-offs
+ and approve every specification before implementation.
+ </p>
+ </div>
</div>
</section>
<style>
- .pair {
+ .pair,
+ .human {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 32px clamp(32px, 6vw, 96px);
}
- @media (max-width: 640px) {
- .pair {
+ .pair {
+ padding-block-end: clamp(40px, 6vw, 64px);
+ }
+
+ .human {
+ padding-block-start: clamp(32px, 5vw, 48px);
+ }
+
+ @media (max-width: 820px) {
+ .pair,
+ .human {
grid-template-columns: 1fr;
}
}
@@ -83,8 +102,9 @@ const essay =
margin-block: 2px 14px;
}
- .approval {
- margin-block-start: 32px;
- max-inline-size: 70ch;
+ .human .muted {
+ font: var(--md-sys-typescale-body-lg);
+ max-inline-size: 50ch;
+ text-wrap: balance;
}
</style>
diff --git a/site/src/components/SkillIcon.astro b/site/src/components/SkillIcon.astro
deleted file mode 100644
index 607e32e..0000000
--- a/site/src/components/SkillIcon.astro
+++ /dev/null
@@ -1,42 +0,0 @@
----
-import bootstrap from '../../../skills/egm_bootstrap/assets/icon.svg?url';
-import brainstorm from '../../../skills/egm_brainstorm/assets/icon.svg?url';
-import draft from '../../../skills/egm_draft/assets/icon.svg?url';
-import resolve from '../../../skills/egm_resolve/assets/icon.svg?url';
-import drift_report from '../../../skills/egm_drift_report/assets/icon.svg?url';
-import review from '../../../skills/egm_review/assets/icon.svg?url';
-import review_loop from '../../../skills/egm_review_loop/assets/icon.svg?url';
-
-const icons = { bootstrap, brainstorm, draft, resolve, drift_report, review, review_loop };
-
-interface Props {
- skill: keyof typeof icons;
-}
-
-const { skill } = Astro.props;
----
-
-<span class="skill-icon" aria-hidden="true">
- <img src={icons[skill]} width="28" height="28" alt="" />
-</span>
-
-<style>
- .skill-icon {
- display: inline-grid;
- place-items: center;
- flex: none;
- inline-size: 40px;
- block-size: 40px;
- border-radius: 50%;
- background: light-dark(
- var(--md-sys-color-surface-container),
- var(--md-sys-color-surface-container-low)
- );
- }
-
- img {
- display: block;
- inline-size: 28px;
- block-size: 28px;
- }
-</style>
diff --git a/site/src/components/Skills.astro b/site/src/components/Skills.astro
index 0b918d0..62c4572 100644
--- a/site/src/components/Skills.astro
+++ b/site/src/components/Skills.astro
@@ -1,60 +1,39 @@
---
-import SkillIcon from './SkillIcon.astro';
-
const repo = 'https://github.com/google/elephant-goldfish-model';
-// Authoring skills first, then review skills. This is also the mobile reading order.
+// User-facing slash-command entry points from the repository Skills Catalog.
const skills = [
{
name: 'Brainstorm',
command: '/egm-brainstorm',
dir: 'egm_brainstorm',
- icon: 'brainstorm',
- body: 'Test an idea and write a concept brief.',
+ body: 'Ideate before any document exists. Clarify the problem and stress-test the raw concept into a structured brief.',
},
{
name: 'Draft',
command: '/egm-draft',
dir: 'egm_draft',
- icon: 'draft',
- body: 'Turn a brief or existing notes into a design document.',
- },
- {
- name: 'Resolve',
- command: '/egm-resolve',
- dir: 'egm_resolve',
- icon: 'resolve',
- body: 'Work through review findings and agree on changes.',
- },
- {
- name: 'Bootstrap',
- command: '/egm-bootstrap',
- dir: 'egm_bootstrap',
- icon: 'bootstrap',
- body: 'Create or update documentation for an existing codebase.',
+ body: 'Compile a markdown design specification section by section, with the Elephant holding the full context.',
},
{
name: 'Review',
command: '/egm-review',
dir: 'egm_review',
- icon: 'review',
- body: 'Review a design with fresh agents across five stages.',
+ body: 'Run the multi-stage Goldfish verification pipeline: zoom out, comprehension, critic, readiness.',
},
{
- name: 'Review loop',
- command: '/egm-review-loop',
- dir: 'egm_review_loop',
- icon: 'review_loop',
- body: 'Run a configured group of reviewers for a specific review task.',
+ name: 'Bootstrap',
+ command: '/egm-bootstrap',
+ dir: 'egm_bootstrap',
+ body: 'Generate bottom-up documentation for an existing codebase and keep it current in sentinel blocks.',
},
{
name: 'Drift Report',
command: '/egm-drift-report',
dir: 'egm_drift_report',
- icon: 'drift_report',
- body: 'Compare checked-in documents with the current source code.',
+ body: 'Scan the syntax tree to flag where live code diverges from checked-in specs.',
},
-] as const;
+];
---
<section class="section skills" id="skills">
@@ -73,13 +52,17 @@ const skills = [
rel="noopener"
>
<span class="list-item-leading">
- <SkillIcon skill={skill.icon} />
+ <code class="cmd">{skill.command}</code>
</span>
<span class="list-item-content">
- <span>{skill.name}</span>
- <span class="cmd">{skill.command}</span>
+ {skill.name}
<span class="list-item-supporting-text">{skill.body}</span>
</span>
+ <span class="list-item-trailing">
+ <svg viewBox="0 -960 960 960" aria-hidden="true">
+ <path d="m216-160-56-56 464-464H360v-80h400v400h-80v-264L216-160Z" />
+ </svg>
+ </span>
</a>
</li>
))
@@ -89,63 +72,72 @@ const skills = [
</section>
<style>
- /* Keep each skill's purpose and command together in a borderless catalog. */
+ /* An index, not a stack of cards: hairline rows, the command in its own column so the
+ five commands read as one aligned list, name and description beside it. List item
+ theming goes through the component's documented custom properties. */
.skills .list {
- display: grid;
- grid-auto-flow: column;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- grid-template-rows: repeat(4, auto);
- gap: 16px 32px;
border-radius: 0;
+ border-block-start: 1px solid var(--md-sys-color-outline-variant);
+ }
+
+ .skills .list > li {
+ border-block-end: 1px solid var(--md-sys-color-outline-variant);
}
.skills .list-item {
text-decoration: none;
--container-shape: var(--md-sys-shape-corner-md);
--label-text: var(--md-sys-typescale-title-lg);
- --top-space: 14px;
- --bottom-space: 16px;
+ --top-space: 22px;
+ --bottom-space: 24px;
--leading-space: 8px;
--trailing-space: 8px;
- --between-space: 16px;
- align-items: flex-start;
- block-size: 100%;
- /* Keep the first and last rows' hover corners consistent with the middle rows. */
+ --between-space: 24px;
+ --trailing-icon-size: 22px;
+ align-items: baseline;
+ /* The package rounds a list's first and last rows by inheriting the list's own corners.
+ With the straight hairline above (list radius 0) that left the end rows half-square on
+ hover; every row's state layer now follows its own shape token on all four corners. */
border-radius: var(--container-shape);
}
.skills .list-item-leading {
- display: flex;
- align-items: center;
flex: none;
- inline-size: 40px;
+ inline-size: 15rem;
min-height: 0;
}
- .skills .list-item-content {
- min-inline-size: 0;
+ .skills .list-item-trailing {
+ align-self: center;
}
.skills .list-item-supporting-text {
- max-inline-size: 40ch;
- margin-block-start: 8px;
- text-wrap: pretty;
+ max-inline-size: 56ch;
+ margin-block-start: 2px;
+ text-wrap: balance;
}
.cmd {
- margin-block-start: 6px;
- font-size: 0.875rem;
- font-weight: 400;
- line-height: 1.55;
+ font-size: 0.8125rem;
color: var(--md-sys-color-on-surface-variant);
}
@media (max-width: 760px) {
- .skills .list {
- grid-auto-flow: row;
- grid-template-columns: 1fr;
- grid-template-rows: none;
- row-gap: 4px;
+ .skills .list-item {
+ flex-wrap: wrap;
+ --between-space: 16px;
+ --top-space: 18px;
+ --bottom-space: 20px;
+ }
+
+ .skills .list-item-leading {
+ inline-size: 100%;
+ line-height: 1.25rem;
+ margin-block-end: -6px;
+ }
+
+ .skills .list-item-content {
+ flex-basis: 0;
}
}
</style>