Repository navigation
docs(playground): the aiws-factory look - #112
Merged
Merged
Conversation
Palette, type, cards and a sticky top bar from the aiws-factory page; the blue accent stays. Only the look changes: every control, the copy buttons and the download work as before.
Be Vietnam Pro and JetBrains Mono (SIL OFL 1.1, Latin woff2) now come from playground/fonts, so the page loads nothing remote, as it says. The Google Fonts link is gone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The playground (
playground/index.html,playground/style.css) gets the aiws-factory look. It isan app, not a marketing page, so only the look changes: no hero, no terminal, no new copy.
prefers-color-scheme), Be Vietnam Pro andJetBrains Mono (ligatures off, so
--and://read as typed).#0b6bcb(dark#6cb2ff) with its own soft tint; teal is the second colourof the gradient on "playground" in the title. Checkboxes and radios take the accent.
presets on 8-10px radii; the Copy and Download buttons keep their small dark style on the code
panels, with a 10px radius and weight 600.
beside the title; the title and its paragraph are unchanged. The result column now sticks
below the bar.
Checked
"your own selection" note shows), switched to GitLab (its note shows, the GitHub fieldset
hides), picked "at a tag or commit" (the field shows and the file follows), protected the
branch (approvals show), picked Apache-2.0 (the file and the warning follow), Copy and
Download. The same run on the old page gives the same results. No page errors.
biome check playgroundclean;vitest run test/playground.test.tspasses.Fonts, self-hosted
The fonts are served from
playground/fonts/(Be Vietnam Pro 400-800 and JetBrains Mono, Latinwoff2, the same files as governed-agent-sdlc, with both SIL OFL 1.1 licences), declared by
@font-faceinstyle.css, so the page keeps its word: nothing leaves it.pages.ymluploads thewhole
playground/folder, so the fonts deploy with it; the npm package does not include them.In Playwright on a local server the page makes no request outside it, every woff2 returns 200,
document.fonts.check('16px "Be Vietnam Pro"')is true, and the control run above still passes.