diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-09 20:00:27 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-09 20:00:27 -0500 |
| commit | b75cd743bf2daeb111b00813c7c2b465984acb8e (patch) | |
| tree | dc74a4363c272ddc8bb981111bdd4195c4cc5237 /scripts/theme-studio/styles.css | |
| parent | 33db36a2efd01121ceb22c5fb2b1d6a18de64123 (diff) | |
| download | dotemacs-b75cd743bf2daeb111b00813c7c2b465984acb8e.tar.gz dotemacs-b75cd743bf2daeb111b00813c7c2b465984acb8e.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.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/theme-studio/styles.css b/scripts/theme-studio/styles.css index f2fc6b4ba..79a7efe28 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} |
