diff --git a/assets/BRAND.md b/assets/BRAND.md
index 09e9bf74..5c897e28 100644
--- a/assets/BRAND.md
+++ b/assets/BRAND.md
@@ -25,11 +25,16 @@ Agent-neutral: name Claude Code as the default, never as the only agent lea runs
[`site/`](../site) follows the family's site kit
([`site-kit/KIT.md`](https://github.com/DavidGodefroid/lockfamily/blob/main/site-kit/KIT.md)):
-- `site/assets/tokens.css` (the paper and carbon themes, `--ink`, `--sign`, `--stamp`…),
+- `site/assets/tokens.css` (the paper and dyed dark themes, `--ink`, `--sign`, `--stamp`, the
+ accents…),
`fonts/` (Zilla Slab, Source Serif 4, IBM Plex Mono, self-hosted woff2), `lock-site.css` and
`copy.js` are lockfamily's files, byte for byte: change them in lockfamily, then copy them
here and update the hashes in `tests/site/test_site.py`.
- `site/assets/logo.svg` is lockfamily's `assets/lea.svg` (light and dark inside the file).
+- Colour follows the family's
+ [`site-kit/COLOUR.md`](https://github.com/DavidGodefroid/lockfamily/blob/main/site-kit/COLOUR.md):
+ every page names lea's accent once, ``, and writes no accent
+ colour itself.
- `site/assets/og.png` (1200x630) and `apple-touch-icon.png` (180x180) are rendered from the
kit's `tools/og.html`, as KIT.md step 9 says.
- `tools/site/assemble.sh` builds what `.github/workflows/pages.yml` publishes: `site/`, plus the
diff --git a/site/404.html b/site/404.html
index 3d7ca4cc..f95b5455 100644
--- a/site/404.html
+++ b/site/404.html
@@ -1,13 +1,13 @@
-
+
Page not found · lea
-
-
+
+
diff --git a/site/assets/apple-touch-icon.png b/site/assets/apple-touch-icon.png
index f67d2156..2ddd88bc 100644
Binary files a/site/assets/apple-touch-icon.png and b/site/assets/apple-touch-icon.png differ
diff --git a/site/assets/lock-site.css b/site/assets/lock-site.css
index 41c5f8c3..c5ad8146 100644
--- a/site/assets/lock-site.css
+++ b/site/assets/lock-site.css
@@ -1,9 +1,11 @@
/* lock-site.css: the shared stylesheet of the Lock sites (locksql, lockmq,
lockfile, lockhttp, locklog). Identical bytes in every Lock repo.
- The family identity, "a printed ticket that a human signs":
- lockfamily/docs/identity.md. Link tokens.css first (fonts, colours,
- space), then this file. No build step, no third-party request.
+ The family identity, "a printed ticket that a human signs", on coloured
+ stock: lockfamily/docs/identity.md and site-kit/COLOUR.md. Link
+ tokens.css first (fonts, colours, space, the accents), then this file,
+ and name the product once: . No build step,
+ no third-party request.
It styles the shared shell (header, hero, install box, footer, family
strip) and every content class the Lock sites use, under their old names,
@@ -24,9 +26,9 @@ body {
overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
-a { color: var(--sign); text-underline-offset: 3px; text-decoration-thickness: 1px; }
+a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
-:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; }
+:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
[id] { scroll-margin-top: 5rem; }
h1, h2, h3 {
@@ -45,7 +47,7 @@ code, kbd, pre { font-family: var(--font-mono); }
code { font-size: 0.86em; }
:not(pre) > code {
padding: 0.05em 0.3em; border-radius: 2px;
- background: var(--paper-2); color: var(--ink);
+ background: var(--accent-tint); color: var(--ink);
overflow-wrap: anywhere;
}
kbd {
@@ -77,7 +79,7 @@ main { display: block; outline: none; padding-bottom: var(--s-7); counter-reset:
/* ---------- header: a ruled band, like a form's letterhead ---------- */
-.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
+.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: inset 0 4px 0 var(--accent); }
.site-header .wrap {
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
gap: 0 var(--s-5); min-height: 60px;
@@ -99,8 +101,8 @@ main { display: block; outline: none; padding-bottom: var(--s-7); counter-reset:
font: 600 0.8rem/1.4 var(--font-mono);
border-bottom: 2px solid transparent; margin-bottom: -1px;
}
-.site-nav a:hover { text-decoration: underline; }
-.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
+.site-nav a:hover { color: var(--accent-ink); text-decoration: underline; }
+.site-nav a[aria-current="page"] { border-bottom: 3px solid var(--accent); color: var(--accent-ink); }
.site-nav a[href^="http"]::after { content: " \2197"; color: var(--ink-2); }
/* Phones: the brand on one row, the navigation on a second row that scrolls
@@ -126,26 +128,60 @@ main > .wrap > .eyebrow:first-child + h1 { margin-top: var(--s-2); }
/* ---------- sections: numbered, like the clauses of a document ---------- */
-main section > h2:not(.visually-hidden) { padding-top: var(--s-2); border-top: 2px solid var(--ink); max-width: none; }
+main section > h2:not(.visually-hidden) { padding-top: 0; border-top: 3px solid var(--accent); max-width: none; }
+/* The clause number: a tab in the product's colour, hanging from the rule. */
main section > h2:not(.visually-hidden)::before {
counter-increment: clause; content: counter(clause, decimal-leading-zero);
- display: block; margin-bottom: var(--s-3);
- font: 600 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em; color: var(--ink-2);
+ display: block; width: max-content; margin-bottom: var(--s-3); padding: 2px 8px 3px;
+ border-radius: 0 0 var(--radius) var(--radius);
+ background: var(--accent); color: var(--on-accent);
+ font: 600 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em;
}
+
+/* Every second section of a page sits on a band of the product's tint,
+ edge to edge (the shadow paints the band, the clip keeps it in its row). */
+main > .wrap > section:not(.hero):not(.limits):not(.demo-section):nth-of-type(even) {
+ margin: var(--s-8) 0 0; padding: var(--s-7) 0;
+ background: var(--accent-tint); box-shadow: 0 0 0 100vmax var(--accent-tint); clip-path: inset(0 -100vmax);
+}
+main > .wrap > section:not(.hero):not(.limits):not(.demo-section):nth-of-type(even) > h2 { margin-top: 0; }
+main > .wrap > section:not(.hero):not(.limits):not(.demo-section):nth-of-type(even) > :last-child { margin-bottom: 0; }
+main > .wrap > section:not(.hero):not(.limits):not(.demo-section):nth-of-type(even) :not(pre) > code { background: var(--card); }
main section > h2:not(.visually-hidden) > .heading-anchor { font-family: var(--font-mono); }
/* ---------- hero ---------- */
+/* The hero is printed on the product's coloured stock, edge to edge, and
+ ends on a perforation. --accent-stock is also its background-color, so a
+ contrast check reads a flat colour under the wash. */
.hero {
display: grid; gap: var(--s-6); align-items: start;
- padding: clamp(var(--s-6), 6vw, var(--s-8)) 0 var(--s-5);
+ position: relative; isolation: isolate;
+ padding: clamp(var(--s-6), 6vw, var(--s-8)) 0 calc(var(--s-6) + 9px); margin-bottom: var(--s-6);
+ background-color: var(--accent-stock);
+ --notch: var(--accent-stock-2);
+ --rule: color-mix(in srgb, var(--accent) 45%, transparent);
+ --perf: 2px dashed var(--rule);
+}
+.hero::before, .hero::after { content: ""; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); }
+.hero::before {
+ z-index: -1; top: 0; bottom: 0;
+ background: linear-gradient(180deg, var(--accent-stock) 0 40%, var(--accent-stock-2) 78% 100%);
+}
+.hero::after {
+ bottom: -1px; height: 9px;
+ background: radial-gradient(circle at 50% 100%, var(--paper) 5px, transparent 5.6px) 0 0 / 18px 9px repeat-x;
}
+@media (min-width: 980px) {
+ .hero::before { background: linear-gradient(100deg, var(--accent-stock) 0 36%, var(--accent-stock-2) 60% 100%); }
+}
+.hero :not(pre) > code { background: var(--card); }
.hero > * { min-width: 0; }
@media (min-width: 980px) {
.hero:has(> .hero-aside) { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: var(--s-7); }
}
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.04; margin: var(--s-3) 0 var(--s-5); max-width: 16ch; }
-.hero h1 .key { color: var(--sign); }
+.hero h1 .key { color: var(--accent-ink); }
.hero .lead { margin-bottom: var(--s-5); }
.hero .intro { color: var(--ink-2); max-width: 40rem; }
.hero-aside { margin: 0; }
@@ -155,9 +191,9 @@ main section > h2:not(.visually-hidden) > .heading-anchor { font-family: var(--f
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--ink); text-decoration: underline; }
.badge {
- display: inline-block; margin-right: var(--s-2); padding: 1px 6px;
- border: 1px solid var(--ink); border-radius: var(--radius);
- color: var(--ink); background: var(--card); letter-spacing: 0.04em;
+ display: inline-block; margin-right: var(--s-2); padding: 2px 7px;
+ border-radius: var(--radius);
+ color: var(--on-accent); background: var(--accent); letter-spacing: 0.04em;
}
.actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0; }
@@ -167,9 +203,10 @@ main section > h2:not(.visually-hidden) > .heading-anchor { font-family: var(--f
background: var(--card); color: var(--ink); text-decoration: none;
font: 600 0.85rem/1.2 var(--font-mono);
}
-.button:hover { background: var(--paper-2); text-decoration: underline; }
-.button.primary { background: var(--ink); color: var(--paper); }
-.button.primary:hover { background: var(--ink); color: var(--paper); text-decoration: underline; }
+.button:hover { background: var(--accent-tint); text-decoration: underline; }
+.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 3px 3px 0 var(--ink); }
+.button.primary:hover { background: var(--accent); color: var(--on-accent); text-decoration: underline; box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }
+.button:focus-visible { outline-color: var(--ink); }
.button[href^="http"]::after { content: "\00a0\2197"; }
/* One line under the hero: the family and its one hub. */
@@ -182,8 +219,8 @@ main section > h2:not(.visually-hidden) > .heading-anchor { font-family: var(--f
.facts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.facts li {
- margin: 0; padding: 2px 8px; border: 1px solid var(--rule); border-radius: var(--radius);
- font: 0.78rem/1.6 var(--font-mono); color: var(--ink-2); background: var(--card);
+ margin: 0; padding: 2px 8px; border: 1px solid var(--accent); border-radius: var(--radius);
+ font: 0.78rem/1.6 var(--font-mono); color: var(--ink); background: var(--card);
}
/* ---------- install box: a terminal with a Copy button (assets/copy.js) ---------- */
@@ -193,7 +230,7 @@ main section > h2:not(.visually-hidden) > .heading-anchor { font-family: var(--f
display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
min-height: 40px; padding: 0 var(--s-2) 0 var(--s-4);
background: var(--term-bg); color: var(--term-dim);
- border: 1px solid var(--ink); border-bottom: 1px dashed #4a4438; border-radius: var(--radius) var(--radius) 0 0;
+ border: 1px solid var(--ink); border-bottom: 1px dashed #5a546c; border-radius: var(--radius) var(--radius) 0 0;
font: 600 0.72rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.install pre {
@@ -238,14 +275,14 @@ figcaption { margin-top: var(--s-2); font-size: 0.92rem; color: var(--ink-2); ma
blockquote {
margin: var(--s-5) 0; padding: var(--s-2) 0 var(--s-2) var(--s-4); max-width: 44rem;
- border-left: 3px double var(--sign);
+ border-left: 4px solid var(--accent);
font: 400 italic 1.2rem/1.5 var(--font-text); color: var(--ink);
}
blockquote p { margin: 0; }
.notice {
display: block; max-width: 44rem; margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4);
- background: var(--card); border: 1px solid var(--ink); border-left-width: 4px; border-radius: var(--radius);
+ background: var(--accent-tint); border: 1px solid var(--accent); border-left-width: 6px; border-radius: var(--radius);
font-size: 0.98rem;
}
.notice > :last-child { margin-bottom: 0; }
@@ -253,7 +290,7 @@ blockquote p { margin: 0; }
/* ---------- the ticket (optional hero aside), from lockfamily ---------- */
.ticket { margin: 0; position: relative; }
-.ticket-face, .ticket-stub { background: var(--card); border: 1px solid var(--ink); position: relative; }
+.ticket-face, .ticket-stub { background: var(--card); border: 1px solid var(--ink); position: relative; box-shadow: 7px 7px 0 var(--accent); }
.ticket-face { padding: var(--s-4) var(--s-4) var(--s-5); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.ticket-stub {
padding: var(--s-4); border-top: var(--perf); border-radius: 0 0 var(--radius) var(--radius);
@@ -263,7 +300,7 @@ blockquote p { margin: 0; }
.ticket-stub p:last-child { margin: 0; }
.ticket-stub::before, .ticket-stub::after {
content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%;
- background: var(--paper); border: 1px solid var(--ink);
+ background: var(--notch, var(--paper)); border: 1px solid var(--ink);
}
.ticket-stub::before { left: -11px; clip-path: inset(0 0 0 50%); }
.ticket-stub::after { right: -11px; clip-path: inset(0 50% 0 0); }
@@ -321,7 +358,7 @@ figure.demo figcaption { margin: var(--s-3) auto 0; max-width: 46rem; text-align
.cards {
display: grid; gap: 0 var(--s-6); margin: var(--s-5) 0 var(--s-4); padding: 0; list-style: none;
grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
- border-top: 1px solid var(--ink);
+ border-top: 3px solid var(--accent);
}
.cards.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.cards > li {
@@ -331,8 +368,7 @@ figure.demo figcaption { margin: var(--s-3) auto 0; max-width: 46rem; text-align
.cards .icon {
position: absolute; left: 0; top: var(--s-4); width: 1.8rem; height: 1.8rem;
display: grid; place-items: center; font-size: 1.05rem; line-height: 1;
- border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card);
- filter: grayscale(1); opacity: 0.85;
+ border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-stock);
}
.cards > li:not(:has(.icon)) { padding-left: 0; }
.cards h3 { margin: 0 0 var(--s-1); font: 600 1rem/1.4 var(--font-mono); }
@@ -357,13 +393,13 @@ ol.steps > li {
}
ol.steps > li::before {
content: counter(st) "."; position: absolute; left: 0; top: var(--s-3);
- font: 600 0.85rem/1.9 var(--font-mono); color: var(--ink-2);
+ font: 600 0.85rem/1.9 var(--font-mono); color: var(--accent-ink);
}
ol.steps > li > :last-child { margin-bottom: 0; }
ol.steps pre { margin: var(--s-2) 0 0; }
/* Further reading. */
-.more { max-width: 44rem; border-top: 2px solid var(--ink); }
+.more { max-width: 44rem; border-top: 3px solid var(--accent); }
.more ul { list-style: none; margin: 0; padding: 0; }
.more li { margin: 0; padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); }
.more a { font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem; }
@@ -372,7 +408,7 @@ ol.steps pre { margin: var(--s-2) 0 0; }
/* ---------- tables ---------- */
.prose + .table-wrap, p + .table-wrap { margin-top: var(--s-5); }
-.table-wrap { max-width: 100%; overflow-x: auto; margin: 0 0 var(--s-5); border-top: 2px solid var(--ink); }
+.table-wrap { max-width: 100%; overflow-x: auto; margin: 0 0 var(--s-5); border-top: 3px solid var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
caption { text-align: left; caption-side: top; padding: var(--s-2) 0; }
th, td { padding: var(--s-2) var(--s-3) var(--s-2) 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
@@ -381,7 +417,7 @@ thead th {
border-bottom: 1px solid var(--ink); vertical-align: bottom;
}
tbody th { font-weight: 600; }
-tbody tr:hover { background: var(--card); }
+tbody tr:hover { background: var(--accent-tint); }
.table-wrap code { white-space: nowrap; }
td.yes, td.no, td.partial { white-space: nowrap; font: 600 0.85rem/1.6 var(--font-mono); }
td.yes { color: var(--auto); }
@@ -404,20 +440,21 @@ td.partial::before { content: "~\00a0"; }
main .limits > h2:not(.visually-hidden) { margin-top: 0; padding-top: var(--s-4); border-top: 0; }
main .limits > h2:not(.visually-hidden)::before {
content: counter(clause, decimal-leading-zero) " \00b7 fine print";
- white-space: pre; color: var(--asked);
+ white-space: pre; padding: 0; background: none; color: var(--asked);
}
.limits h3 { font-size: 1.1rem; }
@media (max-width: 40rem) { .limits { padding: 0 var(--s-4) var(--s-4); } }
/* ---------- FAQ ---------- */
-.faq { max-width: 46rem; border-top: 2px solid var(--ink); }
+.faq { max-width: 46rem; border-top: 3px solid var(--accent); }
.faq > section { padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); }
main .faq section > h2:not(.visually-hidden) {
margin: 0 0 var(--s-2); padding: 0; border: 0; font-size: 1.2rem; line-height: 1.3;
}
main .faq section > h2:not(.visually-hidden)::before {
- display: inline; margin: 0 var(--s-2) 0 0; content: "Q" counter(clause, decimal-leading-zero);
+ display: inline; margin: 0 var(--s-2) 0 0; padding: 0; background: none; color: var(--accent-ink);
+ content: "Q" counter(clause, decimal-leading-zero);
font-size: 0.72rem; vertical-align: 2px;
}
.faq p { margin: 0; }
@@ -431,7 +468,7 @@ main .faq section > h2:not(.visually-hidden)::before {
color: var(--ink-2); font: 600 0.7em var(--font-mono); text-decoration: none;
opacity: 0; transition: opacity 0.15s ease;
}
-.has-anchor:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; color: var(--sign); }
+.has-anchor:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; color: var(--accent-ink); }
@media (hover: none) { .heading-anchor { opacity: 0.5; } }
.anchor-toast {
position: fixed; left: 50%; bottom: var(--s-5); z-index: 60; transform: translateX(-50%);
@@ -444,7 +481,7 @@ main .faq section > h2:not(.visually-hidden)::before {
/* ---------- footer: the family strip, the Lock's links, the licence ---------- */
-.site-footer { margin-top: var(--s-7); border-top: 1px solid var(--ink); background: var(--paper-2); font-size: 0.95rem; }
+.site-footer { margin-top: var(--s-7); border-top: 4px solid var(--accent); background: var(--accent-tint); font-size: 0.95rem; }
.site-footer .footer-grid { display: grid; gap: var(--s-6); padding-top: 40px; padding-bottom: var(--s-6); }
@media (min-width: 720px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .site-footer .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.6fr; } .footer-about { grid-column: auto; } }
@@ -462,8 +499,8 @@ main .faq section > h2:not(.visually-hidden)::before {
.family-strip li a { font-weight: 600; }
.family-strip li span { color: var(--ink-2); font-size: 0.88rem; }
.family-strip li[aria-current] span::after {
- content: "this site"; margin-left: var(--s-2); padding: 0 5px; vertical-align: 1px;
- border: 1px solid var(--ink-2); border-radius: var(--radius);
+ content: "this site"; margin-left: var(--s-2); padding: 1px 6px; vertical-align: 1px;
+ background: var(--accent); color: var(--on-accent); border-radius: var(--radius);
font: 600 0.62rem/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.footer-bottom {
diff --git a/site/assets/logo.svg b/site/assets/logo.svg
index 989c8030..6db47f6c 100644
--- a/site/assets/logo.svg
+++ b/site/assets/logo.svg
@@ -1,6 +1,6 @@
lea
A sealed container drawn in the family style: three agents inside, one waiting for you.
-
+
diff --git a/site/assets/og.png b/site/assets/og.png
index fbe63d44..a7e5436e 100644
Binary files a/site/assets/og.png and b/site/assets/og.png differ
diff --git a/site/assets/tokens.css b/site/assets/tokens.css
index d954b95a..cc67d4b5 100644
--- a/site/assets/tokens.css
+++ b/site/assets/tokens.css
@@ -42,8 +42,8 @@
--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
/* paper (light): a printed ticket on a desk */
- --paper: #f4efe4; /* page */
- --paper-2: #e9e2d2; /* stub, tinted bands */
+ --paper: #fbf7ee; /* page */
+ --paper-2: #f3ecdd; /* stub, neutral bands */
--card: #fffcf5; /* the ticket's face */
--ink: #1d1b17; /* text, logos */
--ink-2: #575146; /* secondary text, control borders */
@@ -54,6 +54,7 @@
--asked: #8a5300; /* waiting for you */
--mask: #0e6158; /* masked values, the hub */
--agent: #2a55a8; /* the agent's request */
+ --accent: #2346d2; --on-accent: #ffffff; --accent-ink: #2346d2; --accent-tint: #ebeffc; --accent-stock: #c8d1f7; --accent-stock-2: #d4c8f7;
--term-bg: #1a1814; /* lox run: a real terminal, dark in both themes */
--term-text: #e2e8f0;
--term-dim: #94a3b8;
@@ -69,24 +70,58 @@
color-scheme: light;
}
-/* carbon (dark): designed on its own, a carbon copy, warm, not navy */
+/* dusk (dark): a dyed dark stock, lifted off black; cream ink stays warm */
@media (prefers-color-scheme: dark) {
:root {
- --paper: #16140f;
- --paper-2: #1f1c16;
- --card: #25221b;
+ --paper: #1f1d26;
+ --paper-2: #282531;
+ --card: #2f2c3a;
--ink: #ede6d6;
- --ink-2: #b2a994;
- --rule: #4a4438;
+ --ink-2: #bdb5a3;
+ --rule: #5a546c;
--sign: #a3bdff;
--stamp: #ff9384;
--auto: #7fcf8a;
--asked: #e8b860;
--mask: #6fd9c8;
--agent: #89b4fa;
- --term-bg: #0e0d0a;
+ --accent: #889cf0; --on-accent: #14120e; --accent-ink: #889cf0; --accent-tint: #202548; --accent-stock: #1d307c; --accent-stock-2: #2b1763;
+ --term-bg: #121017;
color-scheme: dark;
}
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
+
+/* Product accents (site-kit/COLOUR.md). Put data-accent="" on
+ (a Lock site) or on any element (one Lock's row on the family
+ page); without it the family's cobalt applies.
+ --accent fills: buttons, chips, thick rules, the ticket's shadow
+ --on-accent text on --accent
+ --accent-ink the accent as text and links, AA on every ground below
+ --accent-tint a pale band or tile
+ --accent-stock the hero's coloured stock; -2 is the end of its wash */
+/* accents:begin (generated by site-kit/tools/accents.py, do not edit by hand) */
+[data-accent="lockfamily"] { --accent: #2346d2; --on-accent: #ffffff; --accent-ink: #2346d2; --accent-tint: #ebeffc; --accent-stock: #c8d1f7; --accent-stock-2: #d4c8f7; }
+[data-accent="locksql"] { --accent: #6d35d8; --on-accent: #ffffff; --accent-ink: #6933cf; --accent-tint: #f1ebfc; --accent-stock: #d8c8f7; --accent-stock-2: #efc8f7; }
+[data-accent="lockmq"] { --accent: #c9400a; --on-accent: #ffffff; --accent-ink: #ad3709; --accent-tint: #fcf0eb; --accent-stock: #f7d5c8; --accent-stock-2: #f7e6c8; }
+[data-accent="lockfile"] { --accent: #c21f6a; --on-accent: #ffffff; --accent-ink: #af1c5f; --accent-tint: #fcebf3; --accent-stock: #f7c8dd; --accent-stock-2: #f7c8f0; }
+[data-accent="lockhttp"] { --accent: #0672a3; --on-accent: #ffffff; --accent-ink: #066b99; --accent-tint: #ebf7fc; --accent-stock: #c8e8f7; --accent-stock-2: #c8f7f1; }
+[data-accent="locklog"] { --accent: #1c7c3c; --on-accent: #ffffff; --accent-ink: #1b7a3b; --accent-tint: #ebfcf1; --accent-stock: #c8f7d7; --accent-stock-2: #d3f7c8; }
+[data-accent="lockssh"] { --accent: #5d7500; --on-accent: #ffffff; --accent-ink: #5b7300; --accent-tint: #f8fceb; --accent-stock: #edf7c8; --accent-stock-2: #d5f7c8; }
+[data-accent="lea"] { --accent: #9a2bb3; --on-accent: #ffffff; --accent-ink: #9128a8; --accent-tint: #f9ebfc; --accent-stock: #eec8f7; --accent-stock-2: #f7c8e8; }
+[data-accent="lockhub"] { --accent: #0b7a70; --on-accent: #ffffff; --accent-ink: #0a7067; --accent-tint: #ebfcfa; --accent-stock: #c8f7f2; --accent-stock-2: #c8e5f7; }
+[data-accent="lockkit"] { --accent: #9a5f00; --on-accent: #ffffff; --accent-ink: #885400; --accent-tint: #fcf5eb; --accent-stock: #f7e5c8; --accent-stock-2: #f7d3c8; }
+@media (prefers-color-scheme: dark) {
+ [data-accent="lockfamily"] { --accent: #889cf0; --on-accent: #14120e; --accent-ink: #889cf0; --accent-tint: #202548; --accent-stock: #1d307c; --accent-stock-2: #2b1763; }
+ [data-accent="locksql"] { --accent: #ad8af0; --on-accent: #14120e; --accent-ink: #ad8af0; --accent-tint: #2f224a; --accent-stock: #3e1d7c; --accent-stock-2: #541660; }
+ [data-accent="lockmq"] { --accent: #ef9f80; --on-accent: #14120e; --accent-ink: #ef9f80; --accent-tint: #412420; --accent-stock: #672f18; --accent-stock-2: #42300f; }
+ [data-accent="lockfile"] { --accent: #f18dbb; --on-accent: #14120e; --accent-ink: #f18dbb; --accent-tint: #401d34; --accent-stock: #781c46; --accent-stock-2: #5a1550; }
+ [data-accent="lockhttp"] { --accent: #80cdef; --on-accent: #14120e; --accent-ink: #80cdef; --accent-tint: #1a2e3f; --accent-stock: #15455b; --accent-stock-2: #0d3833; }
+ [data-accent="locklog"] { --accent: #80efa5; --on-accent: #14120e; --accent-ink: #80efa5; --accent-tint: #1e302a; --accent-stock: #114a24; --accent-stock-2: #193b0e; }
+ [data-accent="lockssh"] { --accent: #d8ef80; --on-accent: #14120e; --accent-ink: #d8ef80; --accent-tint: #2b2f1e; --accent-stock: #384210; --accent-stock-2: #1b3b0e; }
+ [data-accent="lea"] { --accent: #df8df1; --on-accent: #14120e; --accent-ink: #df8df1; --accent-tint: #382042; --accent-stock: #671c78; --accent-stock-2: #5d1646; }
+ [data-accent="lockhub"] { --accent: #80efe5; --on-accent: #14120e; --accent-ink: #80efe5; --accent-tint: #1b3035; --accent-stock: #104641; --accent-stock-2: #12364c; }
+ [data-accent="lockkit"] { --accent: #efc580; --on-accent: #14120e; --accent-ink: #efc580; --accent-tint: #382a1e; --accent-stock: #533a13; --accent-stock-2: #562514; }
+}
+/* accents:end */
diff --git a/site/faq/index.html b/site/faq/index.html
index 3b35b15c..a2742349 100644
--- a/site/faq/index.html
+++ b/site/faq/index.html
@@ -1,13 +1,13 @@
-
+
lea FAQ
-
-
+
+
diff --git a/site/how-it-works/index.html b/site/how-it-works/index.html
index ab2d8ffe..c8cc3887 100644
--- a/site/how-it-works/index.html
+++ b/site/how-it-works/index.html
@@ -1,13 +1,13 @@
-
+
How lea works
-
-
+
+
diff --git a/site/index.html b/site/index.html
index bd3e7a6c..f6c04613 100644
--- a/site/index.html
+++ b/site/index.html
@@ -1,13 +1,13 @@
-
+
lea: many agents, none of your machine
-
-
+
+
diff --git a/site/install/index.html b/site/install/index.html
index 3aeeb5b7..b7aa3ca5 100644
--- a/site/install/index.html
+++ b/site/install/index.html
@@ -1,13 +1,13 @@
-
+
Install lea
-
-
+
+
diff --git a/site/security/index.html b/site/security/index.html
index 8956706a..c55b6aa4 100644
--- a/site/security/index.html
+++ b/site/security/index.html
@@ -1,13 +1,13 @@
-
+
lea security model
-
-
+
+
diff --git a/tests/site/test_site.py b/tests/site/test_site.py
index f92b31c4..51f0ac98 100644
--- a/tests/site/test_site.py
+++ b/tests/site/test_site.py
@@ -32,14 +32,14 @@
NAV = ['Home', 'Install', 'How it works', 'Security', 'FAQ', 'GitHub']
FAMILY = ['locksql', 'lockmq', 'lockfile', 'lockhttp', 'locklog', 'lockssh', 'lockhub', 'lockkit', 'lea']
-# The kit's shared files, byte for byte as lockfamily ships them (lockfamily c58cac8:
+# The kit's shared files, byte for byte as lockfamily ships them (lockfamily e8bf7b6:
# site-kit/assets/, assets/tokens.css, assets/fonts/, assets/lea.svg). Never edit them in lea:
# change them in lockfamily, copy them here, then update these hashes.
KIT = {
- 'assets/lock-site.css': 'b242351c1ade49409d46cc8dbcc4c0a309b75fc8e07894d6cb29fad475241bbe',
+ 'assets/lock-site.css': 'a279c765186a93e0abfd057ec7d1e73589560e216912fdcbd05ba56a01b9f2cb',
'assets/copy.js': '878219924a4c11c0c264e0cc5f675f81648cf7f2af22a50c4b9e42a8b3938a62',
- 'assets/tokens.css': '6ae81028f853ea660d885a7b6bc2db151fc7eab23197bb9d6709a64d994a8ebe',
- 'assets/logo.svg': 'f997cefee8926ee94d4834b30559d6643133d50880d53dec0c2d2e7bd585c4b9',
+ 'assets/tokens.css': '92859be85c10938bfeb716120da5cf582fcd64f3597392b0b50340e2c6f4ef91',
+ 'assets/logo.svg': '89bf0705dc27ec3c7833d3a32120f1694d0d7c37903c4b43307ed48d36e62780',
'assets/fonts/OFL-ibm-plex-mono.txt': '7e6b2818edbd8f6a01ae80641cc8f16a51080d08fb4e532be3a0b6f74adb07da',
'assets/fonts/OFL-source-serif-4.txt': '5f94c3fd3a23131a417ab5a0c8452de57e70c3cfb9f604d88241f7065ebf9fd9',
'assets/fonts/OFL-zilla-slab.txt': '240b385d3ec8c8d5c1d4af2bbba6ac72bac0309a80c1a8ff112c168643cc6811',
@@ -124,7 +124,7 @@ def test_pages_and_their_files(self):
def test_every_page_has_the_kits_head(self):
for page, (path, _, root) in PAGES.items():
h = self.html[page]
- self.assertTrue(h.startswith('\n\n\n'), page)
+ self.assertTrue(h.startswith('\n\n\n'), page)
self.assertNotIn('{{', h, page)
url = DOMAIN + path
for line in (' ' % url,
@@ -132,8 +132,8 @@ def test_every_page_has_the_kits_head(self):
' ' % DOMAIN,
' ',
' ',
- ' ',
- ' ',
+ ' ',
+ ' ',
' ' % root,
' ' % root,
' ' % root,