feat(calc-01): add distinct styles for backspace and escape keys
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user