Переглянути джерело

Saddles page: lift SSH key text colour for dark-panel contrast

The .ssh-key panel keeps its near-black background but the key text now uses a light grey (#d1d5db) so the key is readable against it; the tone matches the existing muted-on-dark text used by health badges. Verified by a served-stylesheet grep in the pages bundle.
clanker 1 місяць тому
батько
коміт
eab12d11a0
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      src/pages/app.css

+ 5 - 0
src/pages/app.css

@@ -181,6 +181,11 @@ summary { cursor: pointer; font-weight: 600; }
 /* The saddle's SSH public key display */
 .ssh-key {
     background: #111827;
+    /* Goal 2 QoL: the key text inherits --ink (#1f2328, near-black) —
+       unreadable on the #111827 panel. A light tone keeps the dark
+       aesthetic while clearing WCAG-ish contrast (the page already
+       uses #d1d5db for muted text on dark surfaces). */
+    color: #d1d5db;
     border: 1px solid #374151;
     border-radius: 4px;
     font-size: 0.75rem;