From db3bee6e89634f28ad815fba59432a21483d3ea5 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 15 May 2026 21:44:41 +0200 Subject: [PATCH] feat(calc-02): restyle enter key label and colors --- samples/calc-02/index.css | 4 ++-- samples/calc-02/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/calc-02/index.css b/samples/calc-02/index.css index a56fd69..e9659cc 100644 --- a/samples/calc-02/index.css +++ b/samples/calc-02/index.css @@ -19,8 +19,8 @@ --btnDangerBottom: #402d2f; --btnEscapeTop: #6a4a2a; --btnEscapeBottom: #4a331d; - --btnEnterTop: #465349; - --btnEnterBottom: #303a31; + --btnEnterTop: #4f7f4d; + --btnEnterBottom: #355a34; --btnText: #eef2f7; } diff --git a/samples/calc-02/index.js b/samples/calc-02/index.js index b55c682..ef8cc9c 100644 --- a/samples/calc-02/index.js +++ b/samples/calc-02/index.js @@ -30,7 +30,7 @@ const calculatorEl = document.querySelector('.calculator'); const statusLine = document.getElementById('statusLine'); const keypadKeys = [ - { label: 'Enter', action: 'enter', className: 'key-enter' }, + { label: 'ENTER', action: 'enter', className: 'key-enter' }, { label: '⎋', action: 'escape', className: 'key-escape' }, { label: 'C', action: 'clear', className: 'key-danger' }, { label: '⌫', action: 'backspace', className: 'key-danger' },