aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-09 19:34:29 -0500
committerCraig Jennings <c@cjennings.net>2026-06-09 19:34:29 -0500
commitf60150c8776dc81e35ae63e6b68d958cf7fdaef2 (patch)
treedadb3634e52dc68eb2779850a6883f39b73bfe48 /scripts/theme-studio
parent69d2f9d2baf0c5a4645a8bc35e843e90a6d055f9 (diff)
downloaddotemacs-f60150c8776dc81e35ae63e6b68d958cf7fdaef2.tar.gz
dotemacs-f60150c8776dc81e35ae63e6b68d958cf7fdaef2.zip
style(theme-studio): widen ramp tiles to the palette-tile width
The ramp preview tiles were narrower than the palette chips, so longer hexes and names had less room. They now match the palette tile width (128px) and hold the same column count.
Diffstat (limited to 'scripts/theme-studio')
-rw-r--r--scripts/theme-studio/styles.css2
-rw-r--r--scripts/theme-studio/theme-studio.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/theme-studio/styles.css b/scripts/theme-studio/styles.css
index b874ee72..f2fc6b4b 100644
--- a/scripts/theme-studio/styles.css
+++ b/scripts/theme-studio/styles.css
@@ -66,7 +66,7 @@
.ramprow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font:10pt monospace;color:#b4b1a2}
.ramprow input[type=number]{background:#0d0b0a;border:1px solid #252321;color:#cdced1;border-radius:4px;padding:4px 6px;font:10pt monospace}
.rampprev{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
- .rchip{width:74px;height:48px;border-radius:5px;border:1px solid #555;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font:bold 9pt monospace;line-height:1.3}
+ .rchip{width:128px;height:48px;border-radius:5px;border:1px solid #555;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font:bold 9pt monospace;line-height:1.3}
.rchip .rhex{font-weight:normal;font-size:8pt;opacity:.85}
.rchip .rclamp{position:absolute;top:2px;right:4px;color:#cb6b4d;font-weight:bold;font-size:12px}
#rampmsg{font:10pt monospace;margin-top:6px;min-height:14px;color:#8a9496}
diff --git a/scripts/theme-studio/theme-studio.html b/scripts/theme-studio/theme-studio.html
index bc96441d..39a2a2ae 100644
--- a/scripts/theme-studio/theme-studio.html
+++ b/scripts/theme-studio/theme-studio.html
@@ -68,7 +68,7 @@
.ramprow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font:10pt monospace;color:#b4b1a2}
.ramprow input[type=number]{background:#0d0b0a;border:1px solid #252321;color:#cdced1;border-radius:4px;padding:4px 6px;font:10pt monospace}
.rampprev{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
- .rchip{width:74px;height:48px;border-radius:5px;border:1px solid #555;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font:bold 9pt monospace;line-height:1.3}
+ .rchip{width:128px;height:48px;border-radius:5px;border:1px solid #555;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font:bold 9pt monospace;line-height:1.3}
.rchip .rhex{font-weight:normal;font-size:8pt;opacity:.85}
.rchip .rclamp{position:absolute;top:2px;right:4px;color:#cb6b4d;font-weight:bold;font-size:12px}
#rampmsg{font:10pt monospace;margin-top:6px;min-height:14px;color:#8a9496}