feat(calc-02): restyle enter key label and colors

This commit is contained in:
2026-05-15 21:44:41 +02:00
parent 62221a9baa
commit db3bee6e89
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
--btnDangerBottom: #402d2f; --btnDangerBottom: #402d2f;
--btnEscapeTop: #6a4a2a; --btnEscapeTop: #6a4a2a;
--btnEscapeBottom: #4a331d; --btnEscapeBottom: #4a331d;
--btnEnterTop: #465349; --btnEnterTop: #4f7f4d;
--btnEnterBottom: #303a31; --btnEnterBottom: #355a34;
--btnText: #eef2f7; --btnText: #eef2f7;
} }
+1 -1
View File
@@ -30,7 +30,7 @@ const calculatorEl = document.querySelector('.calculator');
const statusLine = document.getElementById('statusLine'); const statusLine = document.getElementById('statusLine');
const keypadKeys = [ const keypadKeys = [
{ label: 'Enter', action: 'enter', className: 'key-enter' }, { label: 'ENTER', action: 'enter', className: 'key-enter' },
{ label: '⎋', action: 'escape', className: 'key-escape' }, { label: '⎋', action: 'escape', className: 'key-escape' },
{ label: 'C', action: 'clear', className: 'key-danger' }, { label: 'C', action: 'clear', className: 'key-danger' },
{ label: '⌫', action: 'backspace', className: 'key-danger' }, { label: '⌫', action: 'backspace', className: 'key-danger' },