forked from LengKundee/MQL5-Google-Onedrive
9 lines
827 B
Markdown
9 lines
827 B
Markdown
## PALETTE'S JOURNAL - CRITICAL LEARNINGS ONLY
|
|
|
|
## 2026-02-13 - [Brand Color Contrast Failure]
|
|
**Learning:** The brand color `#667eea` fails WCAG AA contrast (3.4:1) against white backgrounds, affecting accessibility for text headers and primary buttons.
|
|
**Action:** Replace `#667eea` with `#4f46e5` (Indigo 600) which passes WCAG AA (5.5:1) while maintaining brand identity. Update all instances including `manifest.json`.
|
|
|
|
## 2026-02-14 - [Copy-to-Clipboard Pattern]
|
|
**Learning:** Users need to copy system identifiers (App IDs, Bot Usernames) frequently. Providing a dedicated copy button next to these values reduces friction and prevents errors.
|
|
**Action:** Use the `.status-value-wrapper` + `.copy-btn` pattern with `navigator.clipboard.writeText()` and visual feedback (icon change/color) for all read-only identifiers.
|