Repository navigation
feat: the home page for each school's needs, Lightning CSS, Mzizi tokens, and the first page off Tailwind - #154
Conversation
…ailwind Mzizi builds its CSS with Lightning CSS around tokens.css (values only). This is the site's first step the same way, with no visible change. - Vite+'s CSS pipeline runs on Lightning CSS (css.transformer and build.cssMinify), targeting Mzizi's browser floor: Chrome and Edge 111, Firefox 113, Safari 16.2. lightningcss is a direct dev dependency. - Mzizi's tokens.css is copied into src/styles/mzizi/ from mzizi-dev/mzizi-registry at 292ecc8 (main, with the chrome tokens of 22 November) by scripts/sync-mzizi-css.mjs, under a header naming the commit. CI runs it with --check. Both formatters skip the copy, and tests/toolchain.test.ts holds their ignore lists together. - It is imported into the lowest cascade layer, so every value the site already sets stays. A browser comparison against main, every page in light and dark at 390px and 1280px, found no difference beyond the noise main shows against itself, and no computed token changed. 238 Mzizi tokens become available, such as --measure and --ring-width. - floor.css waits for the first page on Mzizi's data-slot pattern: loaded now, it sized @bundu/ui's hero buttons by the kit's 49px floor (36px to 49px on desktop). Refs #153 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
nyuchi-learning | 22b7c7d | Commit Preview URL Branch Preview URL |
Dec 04 2026, 08:40 AM |
`vp run qa` failed on every page since the beacon was added (#149): its hosts were not on scripts/qa.mjs's approved list. The CSP already allows them and the privacy and cookie pages describe the beacon. With them approved, the run is clean: 78 page, width and theme combinations, no accessibility violations, overflow or cookies before consent. Fixes #157 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
Its own parts (title, date, headings, paragraphs and lists) are styled by src/styles/site/document.css: plain CSS, one class per part, reading tokens only, which the legal pages will share. The container, section, eyebrow and link are @bundu/ui's shared classes and move with the kit. - Values come from Mzizi's tokens.css (colours, type sizes, line heights, weights, spacing, the serif family). src/styles/site/tokens.css holds the few it lacks: this site's fluid h1 and h3 sizes, their letter-spacing and the list-marker colour, as the @bundu/ui preset gives them today, so the page looks the same. Moving to Mzizi's fixed heading sizes is a visible change, left for the owner. - No visible change: the page is pixel-identical to main in light and dark at 390px and 1280px, and every other page is unchanged (the differences on the image-heavy pages appear between two runs of the same build too). `vp run qa` is clean. - tests/plain-css.test.ts: a converted page uses no utility class, and document.css reads tokens for every value, and only tokens that exist. Refs #153 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
|
Why this PR hasn't merged: the required PR metadata workflow ( Not this PR's: the same workflow has failed to start on every pull request in this repo since 3 December, including What I tried: a re-run, which GitHub refuses: "This workflow run cannot be retried". There is no fix I can port from this repository. The run page shows GitHub's reason for the startup failure. An owner can fix the ruleset, or merge past it. Generated by Claude Code |
… needs The home page led with the Toddle extension. It now says what Nyuchi Learning is (owner, issue 158): a forward-deployed company that builds for each school's own needs, not a generic one, architected to the open Bundu frameworks and standards, with its tools published open source and run by Nyuchi or by the school's own IT. - Hero: "Built for your school. Not for every school.", with how an engagement runs (embed, build for your school, built to Bundu standards, run it your way). - Built from inside schools: the founder's career in classrooms, school leadership and school IT, privacy and infrastructure (from bryanfawcett.com, without naming the schools), and his four questions before anything is built. - Why forward-deployed: big platforms and consultants against building for the school. - What we've built: Mukoko Lingo, the Toddle Enhancement Extension and CampusPass with equal weight. CampusPass is new to the site, in nyuchi.com's own words, as a beta. - Run it your way: managed by Nyuchi, or run by the school's IT. - The Bundu frameworks and standards, as what defines how we build. - The header's default action is "Work with us"; the extension's pages keep "Add to Chrome". The navigation is How we work, Apps, Frameworks and Programmes, and the footer lists the three apps first. - The home page's sections are plain CSS reading tokens (src/styles/site/home.css, issue 153). The Mukoko Lingo SEO test changes deliberately: the header reaches the apps through "Apps", and the home page and footer link all three. Refs #158, #153 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
…ence
Owner: "We avoid support and maintenance, our objective is to handover! We
advocate for independence of schools, but we act as a middle man if a
smaller or rural school can't do it themselves."
- The hero and how-we-work end in handover: the school's IT runs what we
build from day one, with training.
- "Run it your way" is now "Built to be handed over": the school's IT runs
it by default; for a smaller or rural school that can't yet, Nyuchi
Learning is the go-between until it can. No support or maintenance offer
anywhere on the page.
- The comparison, FAQ ("Will we depend on you?", "What if our school has no
IT team?"), call to action, page description and site description say
the same.
Refs #158
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
The hero is now one large serif statement: the lead sentence in the foreground, the rest continuing in the muted foreground at the same size, then the two pills and the four steps of an engagement on hairlines, with no card. Plain CSS reading tokens (#153); the bundu Hero is no longer used on this page. The statement speaks of the gaps in a school's tech stack and the connections between its systems, not of what vendors leave out (owner). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
A savanna in cut-away, painted on a canvas and animated: a baobab, an umbrella thorn, a granite kopje, a Kenyan top-bar hive and its bees on rolling ground; below the ground line the two trees' roots are joined by fungal threads, and light travels from one tree to the other, as the tools we build connect a school's systems. The scene is brand-neutral (src/scripts/bundu-scene.js): it keeps nature's colours, and its one brand colour, the light in the roots, is --scene-accent, here Mzizi gold. Light mode is golden hour; dark mode is a moonlit night with fireflies. It is decoration: hidden from assistive technology, still under reduced motion, asleep off screen and in a hidden tab, and paused by a button (WCAG 2.2.2). No video file and no inline script: the CSP is unchanged. The four steps move out of the hero to their own row below it, and the statement is shorter, so text never sits on the scene. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
No page had an og:image or twitter:image, so a link shared on LinkedIn, WhatsApp, X or Slack showed no picture. Every page now carries one: public/brand/og.jpg, 1200 by 630, a still of the Bundu scene with the wordmark and the home page's statement, made by scripts/og-image.mjs. The page shell adds the image's size, type and alt text, the Twitter title, description and image, og:locale, and max-image-preview:large for indexable pages; a page can pass its own image. The JSON-LD graph gains the organisation's logo and each page's primary image. The home, Mukoko Lingo, extension and accessibility pages now keep their titles within 60 characters and their descriptions within 160, which is what a search result shows; tests hold both. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
…#161) CodeQL flagged the helper for double unescaping: it turned & into & before ", so "&quot;" would have become a quote. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CoDNYz27iJ7o8PPztCzTpq
Summary
Mzizi builds its CSS with Lightning CSS, which works with Rust where Tailwind does not, around
tokens.css(values only). This is the learning site's first step the same way. Nothing on the site looks different. The CSS pipeline now runs on Lightning CSS, and Mzizi's tokens are now available to the site's CSS.css.transformerandbuild.cssMinifyare set tolightningcss, targeting Mzizi's browser floor: Chrome and Edge 111, Firefox 113, Safari 16.2.lightningcssis now a direct dev dependency.tokens.css.src/styles/mzizi/frommzizi-dev/mzizi-registryat292ecc8. That is registrymain, including the nine chrome tokens added on 22 November.scripts/sync-mzizi-css.mjsdoes the copying, under a header naming the commit, and CI runs it with--check.@bundu/uidoesn't define become available, such as--measureand--ring-width.floor.csswaits. Loaded now, it sized@bundu/ui's hero buttons by the kit's 49px floor, which made them 36px → 49px tall on desktop. It comes in with the first page converted to Mzizi'sdata-slotpattern.Update 2: the home page, forward-deployed for each school's needs (#158)
After looking at the live site, the owner asked for the home page to stop leading with the Toddle extension. It now says what Nyuchi Learning is: a forward-deployed company that builds for each school's own needs, not a generic one. The Bundu frameworks and standards define how it builds, and its tools are published open source and handed over: it advocates for schools' independence and sells no support or maintenance, acting as a go-between only for a smaller or rural school that can't run a tool alone.
Checks:
vp run check,vp run test(149 tests; one SEO test changed deliberately for the new nav) andvp run qa(78 combinations) all pass.Update: the first page off Tailwind, and a QA fix
Two commits were added after the foundation. Auto-merge is off until the owner approves them too.
75c5db7, Move the site's CSS to Lightning CSS and Mzizi's tokens.css, off Tailwind #153).src/styles/site/document.css: plain CSS, reading tokens only. The legal pages can share it next.src/styles/site/tokens.cssholds the few values Mzizi's tokens lack: this site's fluid heading sizes, their letter-spacing and the list-marker colour.mainin light and dark at 390px and 1280px, and no other page changed.tests/plain-css.test.tskeeps it off utility classes and its stylesheet on tokens.a5e5ed4, fixes Browser QA flags the Cloudflare Web Analytics beacon as an unapproved third party #157).vp run qahad flagged it on every page since Cloudflare Web Analytics records nothing: the beacon is not on the page #149. It's now clean across all 78 page, width and theme combinations.Checks:
vp run check,vp run test(149 tests),prettier --check .andvp run qaall pass.Still blocked by the org: the required "PR metadata" workflow fails to start on every PR in this repo (see the comment below). An owner has to fix that rule or merge past it.
Linked issue(s)
Refs #153 (steps 1 and 2, and the first page of step 3). Fixes #157. Refs #158, #152.
Type of change
feat: the CSS pipeline and design tokens (no user-visible change)build: Lightning CSSci: a check that the Mzizi copy matches the registryBreaking change?
How has this been tested?
On Node 26.14.0:
vp run check: 0 errors and 0 warnings.vp run test: 146 tests pass, with the build and CSP check. There's a newtests/mzizi-css.test.ts, andtests/toolchain.test.tsnow also checks that both formatters skip the same copied files.prettier --check .passes.vpx scripts/sync-mzizi-css.mjs --checkpasses.Visual checks in Chromium, comparing this branch's build against
main:<html>, on three pages, in light and dark. None of the existing 415 changed, and 238 were added.maincompared against itself shows the same two, so that is rendering noise, not this change.Checklist
Process
<type>/<short-kebab-description>: this session pushes only toclaude/blissful-bell-4liuye.docs/toolchain.md, the CSS section).lightningcss^1.33.0 (MPL-2.0), already in the tree through Vite+ core and Tailwind. It's now direct so the config can rely on it.NA-03 merge blockers
Also in this PR
src/scripts/bundu-scene.js). It is hidden from assistive technology, pausable, and still under reduced motion. The CSP is unchanged.Refs #158, #160. Closes #161.
Additional notes
Next steps in #153:
3. Pages move from Tailwind utilities to plain CSS that reads the tokens, one at a time, each checked with
vp run qa.4.
floor.csscomes in with the first page converted.5.
@bundu/ui's Tailwind components are replaced.6. Tailwind is removed.
Generated by Claude Code