aboutsummaryrefslogtreecommitdiff
path: root/tests/gallery-probes/probe-fams.mjs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-18 10:50:18 -0500
committerCraig Jennings <c@cjennings.net>2026-07-18 10:50:18 -0500
commit5fb6b9836ac8389bb68ce27e70331b3e2d29aa04 (patch)
treead90d9b92a116a08877d2b96d5685c3a841e7be6 /tests/gallery-probes/probe-fams.mjs
parentf6cb628aad6e3e5f08e5533f7b98eaa063640243 (diff)
downloadarchsetup-5fb6b9836ac8389bb68ce27e70331b3e2d29aa04.tar.gz
archsetup-5fb6b9836ac8389bb68ce27e70331b3e2d29aa04.zip
refactor(gallery): rename GW namespace to DUPRE, kit to The Dupre Kit
The gallery and its library are now The Dupre Kit, named for the dupre color theme. GW was too opaque to remember. The stylesheet id is now dupre-css, the card handle property is .dupre, and page prose says instrument instead of widget. File names stay put. Renaming them is a separate decision. Historical log entries in todo.org keep their GW references as a record.
Diffstat (limited to 'tests/gallery-probes/probe-fams.mjs')
-rw-r--r--tests/gallery-probes/probe-fams.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gallery-probes/probe-fams.mjs b/tests/gallery-probes/probe-fams.mjs
index 7aa2c4b..993d22d 100644
--- a/tests/gallery-probes/probe-fams.mjs
+++ b/tests/gallery-probes/probe-fams.mjs
@@ -42,7 +42,7 @@ try {
const line1 = await evl(`getComputedStyle(document.querySelectorAll('#card-R31 svg line')[0]).stroke`);
ok('R31 green chip recolors furniture', line0 !== line1 && line1 === 'rgb(88, 184, 126)', `${line0} -> ${line1}`);
- // scope (CSS widget): trace stroke changes on amber chip
+ // scope (CSS instrument): trace stroke changes on amber chip
const tr0 = await evl(`getComputedStyle(document.querySelector('.scope polyline')).stroke`);
await evl(`document.querySelector('.scope').closest('.card').querySelector('.fc[title="amber"]').click()`);
const tr1 = await evl(`getComputedStyle(document.querySelector('.scope polyline')).stroke`);
@@ -50,7 +50,7 @@ try {
// R19: drag still works after family switch (click vfd, then check the handle's set() writes var-based fills)
await evl(`document.querySelector('#card-R19 .fc[title="vfd"]').click()`);
- await evl(`document.getElementById('card-R19').gw.set(30,70)`);
+ await evl(`document.getElementById('card-R19').dupre.set(30,70)`);
const barFill = await evl(`(()=>{const b=document.querySelectorAll('#card-R19 svg rect')[10];return b.getAttribute('fill');})()`);
ok('R19 dynamic fills use vars', barFill.startsWith('var(--scr-'), barFill);