diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-15 18:22:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-15 18:22:01 -0500 |
| commit | 37d8e20e60852b27f89a73497dbf9b16b0ca33e2 (patch) | |
| tree | f6ec174289bcd277d18b4ef33cf9e0bec5599718 /scripts/theme-studio/app.js | |
| parent | 49ebe73098891061e779f5663a2fb615156a5a31 (diff) | |
| download | dotemacs-37d8e20e60852b27f89a73497dbf9b16b0ca33e2.tar.gz dotemacs-37d8e20e60852b27f89a73497dbf9b16b0ca33e2.zip | |
refactor(theme-studio): drop dead bindings and CSS left by the cluster work
Diffstat (limited to 'scripts/theme-studio/app.js')
| -rw-r--r-- | scripts/theme-studio/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/theme-studio/app.js b/scripts/theme-studio/app.js index 311bc11cf..6aaa20629 100644 --- a/scripts/theme-studio/app.js +++ b/scripts/theme-studio/app.js @@ -937,7 +937,7 @@ function buildPkgPreview(){ p.onclick=(e)=>{const u=e.target.closest('[data-face]');if(u)flashPkg(u.dataset.face);}; const lbl=document.getElementById('pkgprevlabel');if(lbl)lbl.textContent=renderer?(APPS[app].label+' preview'):'preview (generic — face names in their own colors)'; } -function resetApp(){const app=curApp();for(const [face,label,d] of APPS[app].faces)if(!LOCKED.has('pkg:'+app+':'+face))PKGMAP[app][face]=seedFace(d);pkgChanged();notify('reset editable '+app+' faces to package defaults',false);} +function resetApp(){const app=curApp();for(const [face,,d] of APPS[app].faces)if(!LOCKED.has('pkg:'+app+':'+face))PKGMAP[app][face]=seedFace(d);pkgChanged();notify('reset editable '+app+' faces to package defaults',false);} function syncPkgHeight(){const t=document.getElementById('pkgtable'),m=document.getElementById('pkgpreview');if(!t||!m)return;const lb=m.previousElementSibling,lbh=lb?lb.getBoundingClientRect().height+10:30;m.style.height=Math.max(t.getBoundingClientRect().height-lbh,220)+'px';} // --- worst-case readout for the covered overlay faces (spec Phase 4) --------- // Default WCAG target for the worst-case verdict (AA). AAA is selectable. |
