diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..853bdff --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,7 @@ +## 2026-05-13 - Contrast Standards for Pending States +**Learning:** Text elements in "pending" or "disabled" states often fall below WCAG AA contrast standards (4.5:1) when using default slate/zinc shades on dark backgrounds. In this project, the `#475569` color on `#020617` had a contrast of ~2.8:1, which is inaccessible. +**Action:** Always verify contrast ratios for non-interactive or pending states. Use `#a1a1aa` (Zinc-400) or lighter for text on near-black backgrounds to ensure accessibility. + +## 2026-05-13 - Clipboard Verification in Playwright +**Learning:** Testing clipboard operations in Playwright (Python sync_api) requires explicitly granting `clipboard-read` and `clipboard-write` permissions to the browser context. Without these, `navigator.clipboard` calls may fail or hang in the test environment. +**Action:** Use `context.grant_permissions(['clipboard-read', 'clipboard-write'])` when testing copy-to-clipboard features. diff --git a/os2.html b/os2.html index fb439ec..8a8fe31 100644 --- a/os2.html +++ b/os2.html @@ -27,7 +27,7 @@ .btn-ready { background: var(--lime); color: #000; cursor: pointer; border: 1px solid var(--lime); } .btn-ready:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(163, 230, 53, 0.2); } - .btn-pending { background: transparent; color: #475569; cursor: not-allowed; border: 1px solid #1e293b; } + .btn-pending { background: transparent; color: #a1a1aa; cursor: not-allowed; border: 1px solid #1e293b; } .code-window { background: #000; border: 1px solid #334155; padding: 2rem; position: relative; } .code-window::before { content: "TERMINAL_FEED"; position: absolute; top: -10px; left: 20px; background: #000; padding: 0 10px; font-size: 10px; color: var(--lime); font-weight: 800; } @@ -84,7 +84,14 @@
; OS*2 SYSTEM_INIT move rdi 10 ; ALLOC_SOVEREIGNTY @@ -148,6 +155,40 @@