Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ description: Commit policy as code for teams and AI agents. Messages, branches,
<div class="cc-term__bar" aria-hidden="true"><span>acme/widgets · pull request #128</span></div>
<p class="cc-prcheck__head"><span>Commit Check</span><span class="cc-prcheck__sum">1 failing</span></p>
<ul>
<li class="cc-prcheck__row is-fail"><i class="cc-st cc-st--fail" aria-hidden="true"></i><span>Branch name</span><code>CC201</code></li>
<li class="cc-prcheck__row is-fail"><i class="cc-st cc-st--fail" aria-hidden="true"></i><span class="cc-sr">Failed: </span><span>Branch name</span><code>CC201</code></li>
<li class="cc-prcheck__fix"><code><span class="cc-t-fail">− Feature/Add-Login</span><span class="cc-t-pass">+ feature/Add-Login</span></code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span>Commit messages</span><code>CC001</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span>Author email</span><code>CC102</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span>Signed-off-by</span><code>CC012</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span>AI attribution</span><code>CC013</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span class="cc-sr">Passed: </span><span>Commit messages</span><code>CC001</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span class="cc-sr">Passed: </span><span>Author email</span><code>CC102</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span class="cc-sr">Passed: </span><span>Signed-off-by</span><code>CC012</code></li>
<li class="cc-prcheck__row"><i class="cc-st cc-st--pass" aria-hidden="true"></i><span class="cc-sr">Passed: </span><span>AI attribution</span><code>CC013</code></li>
</ul>
</figure>
</div>
Expand All @@ -82,7 +82,7 @@ description: Commit policy as code for teams and AI agents. Messages, branches,
<div class="cc-wrap">
<header class="cc-head cc-head--center">
<p class="cc-eyebrow">Where it runs</p>
<h2 id="cc-paths-title" class="cc-h2">One config file. Five places to enforce it.</h2>
<h2 id="cc-paths-title" class="cc-h2">One config file. <span class="cc-soft">Five places to enforce it.</span></h2>
<p class="cc-sub">Pick the entry point that matches how your team works. Every one reads the same <code>cchk.toml</code> and reports the same rule IDs — start with one, add the rest later.</p>
</header>
<div class="cc-config">
Expand Down Expand Up @@ -146,7 +146,7 @@ conventional_branch = <span class="cc-t-pass">true</span></div>
<div class="cc-wrap">
<header class="cc-head cc-head--center">
<p class="cc-eyebrow">commit-check-action</p>
<h2 id="cc-action-title" class="cc-h2">Every pull request, checked and explained.</h2>
<h2 id="cc-action-title" class="cc-h2">Every pull request, <span class="cc-soft">checked and explained.</span></h2>
<p class="cc-sub">The Action reports where your reviewers already look — a PR comment, the job summary, annotations on the run — and exposes a JSON result the next step can gate on.</p>
</header>
<!--
Expand Down Expand Up @@ -373,7 +373,7 @@ conventional_branch = <span class="cc-t-pass">true</span></div>
<header class="cc-head cc-head--split">
<div>
<p class="cc-eyebrow">What it checks</p>
<h2 id="cc-rules-title" class="cc-h2">Rules grouped by what they protect.</h2>
<h2 id="cc-rules-title" class="cc-h2">Rules grouped <span class="cc-soft">by what they protect.</span></h2>
<p class="cc-sub">A few are on by default. Turn on what your project needs, rule by rule, or set any rule to warn instead of fail.</p>
</div>
<a class="cc-btn cc-btn--quiet" href="rules/#rule-index">Browse all rules →</a>
Expand Down Expand Up @@ -423,7 +423,7 @@ conventional_branch = <span class="cc-t-pass">true</span></div>
<div class="cc-wrap cc-anatomy__grid">
<div>
<p class="cc-eyebrow">Every finding</p>
<h2 id="cc-anatomy-title" class="cc-h2">Not just “failed”. What failed, and the fix.</h2>
<h2 id="cc-anatomy-title" class="cc-h2">Not just “failed”. <span class="cc-soft">What failed, and the fix.</span></h2>
<ol class="cc-steps">
<li><span><b>A stable rule ID</b> that links to its documentation.</span></li>
<li><span><b>The exact value</b> that was checked.</span></li>
Expand Down Expand Up @@ -456,7 +456,7 @@ conventional_branch = <span class="cc-t-pass">true</span></div>
<div class="cc-wrap">
<header class="cc-head">
<p class="cc-eyebrow">Pricing</p>
<h2 id="cc-pricing-title" class="cc-h2">Free for open source. Team plan, soon.</h2>
<h2 id="cc-pricing-title" class="cc-h2">Free for open source. <span class="cc-soft">Team plan, soon.</span></h2>
<p class="cc-sub">The CLI, the hook, the Action and the MCP server are MIT licensed — nothing to buy. Plans only cover the hosted GitHub App, the one surface we run for you.</p>
</header>
<ul class="cc-plans">
Expand Down
117 changes: 76 additions & 41 deletions docs/stylesheets/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,33 @@
}

.md-typeset .cc-eyebrow {
font-family: var(--cc-mono);
font-size: 13px;
display: inline-flex;
align-items: center;
gap: 9px;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--cc-blue-deep);
}

.md-typeset .cc-eyebrow::before {
content: "";
width: 6px;
height: 6px;
border-radius: 2px;
background: currentColor;
}

/* The second half of a section heading steps back, as in the hero. */
.md-typeset .cc-h2 .cc-soft {
display: block;
color: #8396a3;
}

[data-theme="dark"] .md-typeset .cc-h2 .cc-soft,
.md-typeset .cc-band--ink .cc-h2 .cc-soft {
color: #6f8494;
}

.md-typeset .cc-band--ink .cc-eyebrow {
color: var(--cc-blue-soft);
}
Expand Down Expand Up @@ -891,41 +910,41 @@
border-radius: 14px;
background: var(--cc-card);
color: var(--cc-text);
transition: border-color 150ms, box-shadow 150ms, transform 150ms;
transition: border-color 150ms;
}

.md-typeset .cc-surface:hover,
.md-typeset .cc-surface:focus-visible {
border-color: var(--cc-blue);
color: var(--cc-text);
transform: translateY(-2px);
}

/* The suggested start: a Signal Blue hairline and a faint wash from the top,
no heavier frame. */
.md-typeset .cc-surface--main {
padding: 19px;
border: 2px solid var(--cc-blue);
box-shadow: 0 12px 30px rgba(44, 156, 205, 0.16);
border-color: var(--cc-blue);
background: linear-gradient(180deg, rgba(44, 156, 205, 0.07), transparent 55%), var(--cc-card);
}

.cc-surface__icon {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
border-radius: 11px;
background: var(--cc-ink);
color: var(--cc-blue);
width: 40px;
height: 40px;
box-sizing: border-box;
border: 1px solid var(--cc-line);
border-radius: 10px;
color: var(--cc-blue-deep);
}

.cc-surface--main .cc-surface__icon {
background: var(--cc-blue);
color: #06131b;
border-color: rgba(44, 156, 205, 0.45);
}

.cc-surface__icon svg {
width: 22px;
height: 22px;
width: 20px;
height: 20px;
}

/* Sits on the card's top edge, like a tab, so it never crowds the icon. */
Expand Down Expand Up @@ -1070,14 +1089,15 @@
}

.md-typeset .cc-tab:hover {
border-color: var(--cc-blue);
border-color: #4a5d6b;
color: #ffffff;
}

/* The chosen tab is lit the way the primary button is. */
.md-typeset .cc-tab[aria-selected="true"] {
border-color: var(--cc-blue);
background: var(--cc-blue);
color: #06131b;
border-color: #f1f5f7;
background: #f1f5f7;
color: var(--cc-ink);
}

.cc-tab__bar {
Expand Down Expand Up @@ -1272,7 +1292,8 @@
.md-typeset .cc-window .cc-ref {
padding: 2px 6px;
border-radius: 5px;
background: var(--cc-tint);
/* The window is drawn light in both schemes, so not var(--cc-tint). */
background: #e3f2f9;
color: #135a74;
font-family: var(--cc-mono);
font-size: 12.5px;
Expand Down Expand Up @@ -2092,15 +2113,25 @@
}

.md-typeset .cc-ex--bad {
background: #fcefed;
color: #8e231e;
background: rgba(200, 50, 43, 0.06);
color: #a62a24;
}

.md-typeset .cc-ex--ok {
background: #e6f4ec;
background: rgba(26, 127, 75, 0.07);
color: #146b3e;
}

[data-theme="dark"] .md-typeset .cc-ex--bad {
background: rgba(255, 122, 110, 0.09);
color: #ff8f85;
}

[data-theme="dark"] .md-typeset .cc-ex--ok {
background: rgba(79, 201, 139, 0.09);
color: #62d29b;
}

.md-typeset .cc-ex > span:first-child {
font-weight: 700;
}
Expand Down Expand Up @@ -2299,14 +2330,11 @@
}

.md-typeset .cc-plan--soon {
padding: 27px;
border: 2px dashed #9fc9dc;
background: #f5fafd;
background: var(--cc-paper);
}

[data-theme="dark"] .md-typeset .cc-plan--soon {
border-color: #2e5467;
background: #10222d;
background: rgba(255, 255, 255, 0.025);
}

.md-typeset .cc-plan__name {
Expand Down Expand Up @@ -2361,23 +2389,29 @@
border-top: 0;
}

/* A plain list of questions between hairlines, not a stack of boxes. */
.md-typeset .cc-faq details {
margin: 0 0 10px;
border: 1px solid var(--cc-line);
border-radius: 12px;
margin: 0;
border: 0;
border-bottom: 1px solid var(--cc-hair);
border-radius: 0;
padding: 0;
background: var(--cc-card);
background: none;
box-shadow: none;
font-size: 15px;
font-size: 15.5px;
}

.md-typeset .cc-faq h2 + details {
border-top: 1px solid var(--cc-hair);
}

.md-typeset .cc-faq details > summary {
margin: 0;
padding: 14px 18px;
padding: 20px 32px 20px 0;
background: none;
color: var(--cc-text);
font-size: 16px;
font-weight: 600;
font-size: 17px;
font-weight: 500;
}

.md-typeset .cc-faq details > summary::before {
Expand All @@ -2391,7 +2425,8 @@
}

.md-typeset .cc-faq details > p {
margin: 0 18px 14px;
margin: 0 32px 20px 0;
color: var(--cc-muted);
}

/* ------------------------------------------------------------------ CTA -- */
Expand Down Expand Up @@ -2787,7 +2822,7 @@
}

[data-theme="light"] .md-typeset .cc-trust a {
color: #8395a2;
color: var(--cc-muted);
}

[data-theme="light"] .md-typeset .cc-trust a:hover {
Expand Down