Repository navigation
FormFabric 0.30.0: AMOLED Black, a true-black theme for OLED screens - #14
Merged
Merged
Conversation
AMOLED Black (id amoled) sets the window, panels, Home, the Pattern and 3D views and the agent panel to #000000 and tells panels apart by their borders (#262626 and #3a3a3a). Inputs and fields keep #141414. Text is #ededed, #a6a6a6 and #858585: 17.9, 8.6 and 5.7 to 1 on black. The accent is the user's own. The profile is in both tables: THEMES in frontend/src/ui/themes.ts and the pre-paint PROFILES in frontend/index.html, with an OLED table, so data-oled is on html from the first frame. Rules on data-oled: the hover tint and soft border (10% and 12% white), --surface-1 and --line-0 (FormVis's), the Preferences groups and the Home hero. Its name is in the 27 full language tables. Checked in headless Chrome at 1440 by 900, 4x CPU, slow network, cache off: cold load and hard reload black on every frame after navigation; a live switch to Studio Dark and back adds no element and moves no box. The frontend HASHOUT log has the entries.
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.
FormFabric 0.30.0: AMOLED Black, a true-black theme for OLED screens
This pull request carries 0.30.0: 2 commits on
mainat 0.29.1, which is merged, the release commit last. The section on 0.29.1 further down is kept for reference only. Please merge this with a merge commit, not a squash and not a rebase.What a person gets
#000000; panels are told apart by their borders (#262626,#3a3a3a); inputs and fields keep a#141414fill. Text is#ededed,#a6a6a6and#858585: 17.9, 8.6 and 5.7 to 1 on black (15.7, 7.6 and 5.0 on the#141414fields). The accent stays the user's own. The theme's name is in all 27 full language tables (es-MX and fr-CA take es and fr); no speaker has read them.data-oledbefore anything paints.Commits
How it was checked
/home/claude/form/work/AMOLED_SPEC.mdsays, with FormTxt as the reference and FormVis's profile row and surface rules: theme idamoled,oledflag,data-oledset byapplyThemeand by the pre-paint script (OLEDtable,PROFILESrow),html[data-oled] bodyblack in the critical style, and underdata-oled: hover 10% and soft border 12% white,--surface-1black (it was#090909in the title bar, Home picture frames and title bar buttons),--line-0the border colour, the Preferences groups black with a 1 px inset ring (a shadow, so no box changes size), the Home hero without its accent glow. The shareddock/files are unchanged; the agent panel is black throughstyles/dock-tokens.css.#000000or the settled value. With a blank garment open and in Preferences: no large element with a fill other than black, transparent or the 60% scrim. Screenshots of Home, Home with a hover, the workspace and Preferences in AMOLED Black were looked at: black surfaces, borders, hover and fields visible.data-oledon, off, on. The terminal in the agent panel (xterm, shareddock/) rewrites the text of 4 of its style elements and replaces one row span at each switch, which it does for any theme change; nothing else changes (0 changes in 5 s idle before the switch).maturin build --release, cargo lane K1, 23 min on a loaded machine; itsCargo.tomlandCargo.lockbyte-identical to the release tree's) and installed. On the release tree: backend tests 53 passed, 0 failed;--selfcheckexit 0 (engine built, 0.30.0, 255 commands);./formfabric agents sync --checkand./formfabric agents checkexit 0; version check one version, 0.30.0, across 10 sites and the changelog; language tables 350 of 350 in every table;npm ci --dry-run,npm ci,npm run build(type check and build) exit 0;npm audit0 vulnerabilities;bash -non 21 scripts and Python byte-compile: 0 failures; no em dash, emoji or comment line added. The window check (built page against the engine, no page error) ran on the AMOLED commit with the 0.30.0 engine module.Not run
src-tauri(Cargo.toml,Cargo.lock,tauri.conf.json).engineanddesktop-shellCI jobs; the real Claude Code, Codex, Cursor and Antigravity (stand-ins only).For reference, already merged: 0.29.1
FormFabric 0.29.1: the window asks for live events only once it holds its key
This pull request carries 0.29.1: 2 commits on
main(0.29.0, merged), the release commit last. Please merge it with a merge commit, not a squash and not a rebase.What a person gets
Commits
How it was checked
workspace/offline.tsandworkspace/viz/api.tssubscribe to the engine's link state when their modules load, beforemain.tsclaims the window key, soengine/events.tsopenedGET /api/eventswith no key. The page's network record on 0.29.0: the events request first, 403, thenPOST /api/window/key. The window key module now exposes a promise that settles when the claim has finished, and the events stream opens after it.formfabric_engine.py, stand-in agent programs and shell first on PATH), the built window in headless Chromium, 10 starts in a row at normal speed and 10 under 4x CPU throttling, a fresh engine and data folder each start: 0 refused requests on the events route in the page's network record and in the engine's access log, in 20 of 20 starts (0.29.0 in the same harness: 1 per start in each of 4 trial starts, 2 normal and 2 throttled). A page without the key, asking the events route of the same engine: 403 in 20 of 20.setup/freeze_backend.batread token by token againstsetup/freeze_backend: the PyInstaller line expands to the same 40 tokens as the POSIX line on Windows (only their order differs, which PyInstaller does not care about); CRLF on all 27 lines, no tab, no double space, no glued token. Nothing to change.maturin build --release, 7 min 42 s) and installed; on the release tree: backend tests 53 passed, 0 failed;--selfcheckexit 0 (engine built, 0.29.1, 255 commands);./formfabric agents sync --checkand./formfabric agents checkexit 0; version check one version, 0.29.1, across 10 sites and the changelog.npm ci --dry-run,npm ci, the window build with its type check exit 0;npm audit0 vulnerabilities; the built window against the engine: no page error, only the two known 404s (src/styles/dock.css,engine/ffb_wasm.wasm, both as in 0.28.0 and 0.29.0) and no refused events request;bash -non 23 scripts, Python byte-compile: 0 failures; no em dash, emoji or comment line added.Not run
npm auditand the window check were not repeated on the release commit itself; they ran on the same tree, with the same version edits, before the module was built.src-tauri(Cargo.toml,Cargo.lock,tauri.conf.json).engineCI job (clippy, browser engine) and thedesktop-shelljob were not run; no engine source changed.