aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/styles.css
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-09 20:00:27 -0500
committerCraig Jennings <c@cjennings.net>2026-06-09 20:00:27 -0500
commit0c56d76c6e1bff97e52a60d27b783a664fefc24c (patch)
tree48de70a5bc1110366fc57988d7b3b067b47021fb /scripts/theme-studio/styles.css
parent377e8d2a0bbf9119bd1df7f749d1d728c6cdf6c0 (diff)
downloaddotemacs-0c56d76c6e1bff97e52a60d27b783a664fefc24c.tar.gz
dotemacs-0c56d76c6e1bff97e52a60d27b783a664fefc24c.zip
feat(theme-studio): warn which ramp steps collide with existing names
A ramp step whose name already exists in the palette is skipped on add, but the only signal was a count. Now preview marks each colliding tile with a dashed outline and a badge, and the message names every collision, so you can see which steps won't add before you add them. Add-all reports the skipped names too, not just how many. The single-tile add already named its one collision; this extends the same warning to preview and add-all.
Diffstat (limited to 'scripts/theme-studio/styles.css')
-rw-r--r--scripts/theme-studio/styles.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/theme-studio/styles.css b/scripts/theme-studio/styles.css
index f2fc6b4b..79a7efe2 100644
--- a/scripts/theme-studio/styles.css
+++ b/scripts/theme-studio/styles.css
@@ -69,6 +69,8 @@
.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}
+ .rchip.dup{outline:2px dashed #e8bd30;outline-offset:-2px}
+ .rchip .rdup{position:absolute;top:2px;left:4px;color:#e8bd30;font-weight:bold;font-size:12px}
#rampmsg{font:10pt monospace;margin-top:6px;min-height:14px;color:#8a9496}
.svsafe{position:absolute;left:0;width:100%;background:rgba(203,107,77,0.30);border-bottom:2px solid #cb6b4d;pointer-events:none;z-index:2}
.palctl button,.filebar button,.fbtn{background:#252321;color:#e8bd30;border:1px solid #3a3a3a;border-radius:4px;padding:6px 12px;font:10pt monospace;cursor:pointer}