aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-studio.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 13:57:49 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 13:57:49 -0400
commit1303d9958a8a9da888fc4c82a963e5696b993b48 (patch)
tree0a58cf48beb61d96e8b8250b966d79d5d32d1108 /scripts/theme-studio/theme-studio.html
parentc2663be91d14ef54a736f9abb7e922f05ddb052c (diff)
downloaddotemacs-1303d9958a8a9da888fc4c82a963e5696b993b48.tar.gz
dotemacs-1303d9958a8a9da888fc4c82a963e5696b993b48.zip
feat(theme-studio): bind dashboard preview list items to dashboard-items-face
The dashboard preview rendered the project/bookmark/recent rows as plain text, so editing dashboard-items-face didn't recolor them. Wrap those rows in dashboard-items-face so the preview reflects the face. It inherits widget-button (unspecified) while unset, so the rows stay bare until the face is themed -- this only makes the preview responsive. Completes the dashboard preview's face coverage.
Diffstat (limited to 'scripts/theme-studio/theme-studio.html')
-rw-r--r--scripts/theme-studio/theme-studio.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/theme-studio/theme-studio.html b/scripts/theme-studio/theme-studio.html
index 7f5727cef..f813194a0 100644
--- a/scripts/theme-studio/theme-studio.html
+++ b/scripts/theme-studio/theme-studio.html
@@ -2837,21 +2837,21 @@ function renderDashboardPreview(){const a='dashboard',L=[];
L.push('');
L.push('');
L.push(os(a,'dashboard-heading','Projects:'));
- L.push(' ~/');
- L.push(' ~/.emacs.d/');
- L.push(' ~/projects/work/');
- L.push(' ~/org/roam/');
- L.push(' ~/projects/home/');
+ L.push(os(a,'dashboard-items-face',' ~/'));
+ L.push(os(a,'dashboard-items-face',' ~/.emacs.d/'));
+ L.push(os(a,'dashboard-items-face',' ~/projects/work/'));
+ L.push(os(a,'dashboard-items-face',' ~/org/roam/'));
+ L.push(os(a,'dashboard-items-face',' ~/projects/home/'));
L.push('');
L.push(os(a,'dashboard-heading','Bookmarks'));
- L.push(' Cesar Aira, The Little Buddhist Monk & the Proof');
- L.push(' Edward Abbey, The Fool’s Progress: An Honest Novel');
- L.push(' Agatha Christie, The A.B.C. Murders');
+ L.push(os(a,'dashboard-items-face',' Cesar Aira, The Little Buddhist Monk & the Proof'));
+ L.push(os(a,'dashboard-items-face',' Edward Abbey, The Fool’s Progress: An Honest Novel'));
+ L.push(os(a,'dashboard-items-face',' Agatha Christie, The A.B.C. Murders'));
L.push('');
L.push(os(a,'dashboard-heading','Recent Files:'));
- L.push(' theme-theme.el');
- L.push(' todo.org');
- L.push(' theme-studio-palette-generator-spec.org');
+ L.push(os(a,'dashboard-items-face',' theme-theme.el'));
+ L.push(os(a,'dashboard-items-face',' todo.org'));
+ L.push(os(a,'dashboard-items-face',' theme-studio-palette-generator-spec.org'));
return previewLines(L);}
function renderMu4ePreview(){const a='mu4e',L=[];
const pad=(s,n)=>{s=String(s);return s.length>=n?s.slice(0,n):s+' '.repeat(n-s.length);};