feat(calc-01): add distinct styles for backspace and escape keys

This commit is contained in:
2026-04-25 02:54:23 +02:00
parent 223bf56339
commit 84451d0abc
2 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -87,8 +87,8 @@ const topButtons = {
{ type: 'command', value: 'e', label: 'e', className: 'key-function' },
],
del: { type: 'command', value: 'clear', label: 'DEL', className: 'key-danger' },
backspace: { type: 'action', value: 'backspace', label: '⌫', className: 'key-danger' },
escape: { type: 'action', value: 'escape', label: 'ESC', className: 'key-danger' },
backspace: { type: 'action', value: 'backspace', label: '⌫', className: 'key-soft-danger' },
escape: { type: 'action', value: 'escape', label: 'ESC', className: 'key-cancel' },
};
let stackCursor = null;