Skip to content

Commit 06f44c4

Browse files
author
DavidQ
committed
skin-editor: unify shape-action and move-order button styling so Rename/Delete/Flatten and Move Down match primary button style
1 parent 2a79ccb commit 06f44c4

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

tools/Skin Editor/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ function renderPaletteList() {
791791
}
792792
const swatchName = normalizeText(entry?.name) || `Swatch ${index + 1}`;
793793
const swatchSymbol = normalizeText(entry?.symbol);
794-
const prefix = swatchSymbol ? `${swatchSymbol} ` : "";
794+
const prefix = swatchSymbol ? `\`${swatchSymbol}\` ` : "";
795795
return {
796796
id: `${sharedPalette?.paletteId || "shared-palette"}.${index}`,
797797
label: `${prefix}${swatchName}`,

tools/Skin Editor/skinEditor.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ body[data-tool-id="skin-editor"] .skin-editor-object-order-actions {
8181
justify-content: center;
8282
}
8383

84+
body[data-tool-id="skin-editor"] .skin-editor-object-order-actions .debug-tool-control:not(:disabled),
85+
body[data-tool-id="skin-editor"] .skin-editor-section--shape-add .debug-tool-actions .debug-tool-control:not(:disabled) {
86+
border-color: rgba(167, 139, 250, 0.8);
87+
background: linear-gradient(180deg, rgba(167, 139, 250, 0.48) 0%, rgba(91, 33, 182, 0.88) 100%);
88+
color: #ffffff;
89+
}
90+
8491
body[data-tool-id="skin-editor"] .skin-editor-object-row {
8592
display: grid;
8693
grid-template-columns: 18px minmax(0, 1fr);

0 commit comments

Comments
 (0)