diff --git a/app/igneum-app/ui/view.test.mjs b/app/igneum-app/ui/view.test.mjs index a67e94c8a..d36baf0b0 100644 --- a/app/igneum-app/ui/view.test.mjs +++ b/app/igneum-app/ui/view.test.mjs @@ -857,3 +857,18 @@ test('the knob sits inside the track at off and at on, both sizes, and neither t for (const m of css.matchAll(/@media \(prefers-color-scheme:light\)\{:root:not\(\[data-theme="dark"\]\)\{[^}]*\}\}|:root\[data-theme="light"\]\{[^}]*\}/g)) assert.equal(/\.switch|\.track/.test(m[0]), false, 'a theme block touches the switch'); assert.equal(cssRules(css).some((r) => /\.switch|\.track/.test(r.sel) && /@media \(prefers-color-scheme/.test(r.sel)), false); }); + +// ---------- the shared marks module (brand/marks/vendor-marks.mjs, for the site) ---------- +test('brand/marks/vendor-marks.mjs carries the app\'s marks and tokens verbatim, plus the Windows mark in the same treatment', async () => { + const mod = await import(join(dirname(fileURLToPath(import.meta.url)), '../../../brand/marks/vendor-marks.mjs')); + assert.deepEqual(mod.MARKS, V.MARKS, 'the glyph strings (regenerate with node brand/marks/regen.mjs)'); + assert.deepEqual(mod.VENDORS, V.VENDORS); + assert.deepEqual(mod.WELL_ALPHA, { dark: V.WELL_ALPHA_DARK, light: V.WELL_ALPHA_LIGHT }); + assert.equal(mod.OS_MARKS.macos, V.MARKS.apple); + assert.match(mod.OS_MARKS.windows, /^
+export function markHtml(vendor, size) { const v = MARKS[vendor] ? vendor : 'gpu'; return '
' + MARKS[v] + '
'; } diff --git a/docs/plans/gpu-logos-shots.txt b/docs/plans/gpu-logos-shots.txt index 0c102d9fe..6712a2ccf 100644 --- a/docs/plans/gpu-logos-shots.txt +++ b/docs/plans/gpu-logos-shots.txt @@ -8,3 +8,6 @@ 07-cards-rig-light.png scenario=rig&page=cards&theme=light 1100 08-firstrun-rig-dark.png scenario=rig&screen=cards&theme=dark 1000 09-firstrun-rig-light.png scenario=rig&screen=cards&theme=light 1000 +10-prove-dark.png scenario=ladder&page=prove&theme=dark 900 +11-prove-light.png scenario=ladder&page=prove&theme=light 900 +12-prove-off-dark.png scenario=live&page=prove&theme=dark 900 diff --git a/docs/plans/gpu-logos-shots/01-overview-live-dark.png b/docs/plans/gpu-logos-shots/01-overview-live-dark.png index 5c2850aa0..03240e790 100644 Binary files a/docs/plans/gpu-logos-shots/01-overview-live-dark.png and b/docs/plans/gpu-logos-shots/01-overview-live-dark.png differ diff --git a/docs/plans/gpu-logos-shots/02-overview-live-light.png b/docs/plans/gpu-logos-shots/02-overview-live-light.png index dba1a6ab1..fefb1f3be 100644 Binary files a/docs/plans/gpu-logos-shots/02-overview-live-light.png and b/docs/plans/gpu-logos-shots/02-overview-live-light.png differ diff --git a/docs/plans/gpu-logos-shots/03-overview-firstblock-dark.png b/docs/plans/gpu-logos-shots/03-overview-firstblock-dark.png index 7701dede4..5633c3587 100644 Binary files a/docs/plans/gpu-logos-shots/03-overview-firstblock-dark.png and b/docs/plans/gpu-logos-shots/03-overview-firstblock-dark.png differ diff --git a/docs/plans/gpu-logos-shots/04-cards-mac-dark.png b/docs/plans/gpu-logos-shots/04-cards-mac-dark.png index 2117a07f0..cb893876a 100644 Binary files a/docs/plans/gpu-logos-shots/04-cards-mac-dark.png and b/docs/plans/gpu-logos-shots/04-cards-mac-dark.png differ diff --git a/docs/plans/gpu-logos-shots/05-cards-mac-light.png b/docs/plans/gpu-logos-shots/05-cards-mac-light.png index b03675332..e12e75bb4 100644 Binary files a/docs/plans/gpu-logos-shots/05-cards-mac-light.png and b/docs/plans/gpu-logos-shots/05-cards-mac-light.png differ diff --git a/docs/plans/gpu-logos-shots/06-cards-rig-dark.png b/docs/plans/gpu-logos-shots/06-cards-rig-dark.png index e01a1ed18..518c1639a 100644 Binary files a/docs/plans/gpu-logos-shots/06-cards-rig-dark.png and b/docs/plans/gpu-logos-shots/06-cards-rig-dark.png differ diff --git a/docs/plans/gpu-logos-shots/07-cards-rig-light.png b/docs/plans/gpu-logos-shots/07-cards-rig-light.png index b44042858..5611e7194 100644 Binary files a/docs/plans/gpu-logos-shots/07-cards-rig-light.png and b/docs/plans/gpu-logos-shots/07-cards-rig-light.png differ diff --git a/docs/plans/gpu-logos-shots/08-firstrun-rig-dark.png b/docs/plans/gpu-logos-shots/08-firstrun-rig-dark.png index 4f01f257f..3e8c603e6 100644 Binary files a/docs/plans/gpu-logos-shots/08-firstrun-rig-dark.png and b/docs/plans/gpu-logos-shots/08-firstrun-rig-dark.png differ diff --git a/docs/plans/gpu-logos-shots/09-firstrun-rig-light.png b/docs/plans/gpu-logos-shots/09-firstrun-rig-light.png index dd9d00a9d..e46ea1862 100644 Binary files a/docs/plans/gpu-logos-shots/09-firstrun-rig-light.png and b/docs/plans/gpu-logos-shots/09-firstrun-rig-light.png differ diff --git a/docs/plans/gpu-logos-shots/10-prove-dark.png b/docs/plans/gpu-logos-shots/10-prove-dark.png new file mode 100644 index 000000000..6224168fc Binary files /dev/null and b/docs/plans/gpu-logos-shots/10-prove-dark.png differ diff --git a/docs/plans/gpu-logos-shots/11-prove-light.png b/docs/plans/gpu-logos-shots/11-prove-light.png new file mode 100644 index 000000000..77c2aa16a Binary files /dev/null and b/docs/plans/gpu-logos-shots/11-prove-light.png differ diff --git a/docs/plans/gpu-logos-shots/12-prove-off-dark.png b/docs/plans/gpu-logos-shots/12-prove-off-dark.png new file mode 100644 index 000000000..a76a4584d Binary files /dev/null and b/docs/plans/gpu-logos-shots/12-prove-off-dark.png differ