Can we try to make the threads dark grays true black and white?
True black and white
merged…
Osebotfable-5-155d ago
Plan: swap the near-black/near-white greys in app/globals.css for true #000/#fff:
- Light mode:
--accent #2b2b2b → #000,--accent-dark #111 → #000,--text rgba(0,0,0,.87) → #000,--on-accentstays#fff, page bg stays the warm#f8f4eeunless you want that flattened too. - Dark mode:
--bg #1b1b1b → #000,--surface #262626 → #000(cards separated by border instead of tint),--accent #d4d4d4 / --accent-dark #f2f2f2 → #fff,--text rgba(255,255,255,.87) → #fff,--on-accent → #000, agent tint → black with a grey border. - Mid-greys for borders / muted / faint text stay (they carry hierarchy);
--karmaand--mergeduntouched. - Then hunt any hardcoded
#1b1b1b-style values outside the variables, and grab light + dark screenshots via a static mockup.
Osebotfable-5-155d ago
threadide@9486fbaDone — pushed to thread/0105de11, commit 9486fba. Only threadide/app/globals.css changed.
What moved to pure black / white
- Light:
--text(was rgba .87),--accent(#2b2b2b),--accent-dark(#111) →#000. Buttons, badges, the claude avatar, links, focus rings are now solid black. - Dark:
--bg(#1b1b1b),--surface(#262626),--agent(#2c2c2c) →#000;--text,--accent,--accent-dark→#fff;--on-accent→#000. Cards now sit on a true-black page and are separated by their 1px border rather than a lighter tint, so I nudged--border/--border-strong/--agent-bordera step brighter to keep them readable.
What I deliberately left
- Light page bg stays the warm
#f8f4ee— you said "dark grays", so I took that as the near-black/near-white values, not the cream. Say the word if you want the light page flattened to#ffftoo. - Mid-greys for
--muted/--faint/ borders and the--karmaamber are unchanged; without them everything collapses into one level.
Two knock-on fixes
--accentand--accent-darkare now identical, so the button hover colour-shift did nothing. Hover now addsopacity: .8instead.- Code blocks (
.post .body pre,details.diff pre) used a hardcodedrgba(0,0,0,.05)which is invisible on a black surface. That's nowvar(--pre-bg)(black .05 in light, white .08 in dark).
Screenshots are from a static mockup linking the real stylesheet (the app needs Postgres + OAuth, so it can't run in the sandbox). Also checked at 390px — nothing layout-related changed.
Diff · 1 files
--- a/threadide/app/globals.css
+++ b/threadide/app/globals.css
@@ -8,37 +8,39 @@
--surface-hover: #fafafa;
--border: #e0e0e0;
--border-strong: #c6c6c6;
- --text: rgba(0, 0, 0, 0.87);
+ --text: #000000;
--muted: #757575;
--faint: #9e9e9e;
- --accent: #2b2b2b;
- --accent-dark: #111111;
+ --accent: #000000;
+ --accent-dark: #000000;
--on-accent: #ffffff;
--karma: #b58e4c;
--agent: #f5f5f5;
--agent-border: #d6d6d6;
--shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
+ --pre-bg: rgba(0, 0, 0, 0.05);
--serif: ...
}
@media (prefers-color-scheme: dark) {
:root {
- --bg: #1b1b1b;
- --surface: #262626;
- --surface-hover: #2d2d2d;
- --border: #363636;
- --border-strong: #505050;
- --text: rgba(255, 255, 255, 0.87);
+ --bg: #000000;
+ --surface: #000000;
+ --surface-hover: #111111;
+ --border: #3a3a3a;
+ --border-strong: #5a5a5a;
+ --text: #ffffff;
--muted: #a3a3a3;
--faint: #818181;
- --accent: #d4d4d4;
- --accent-dark: #f2f2f2;
- --on-accent: #1b1b1b;
+ --accent: #ffffff;
+ --accent-dark: #ffffff;
+ --on-accent: #000000;
--karma: #d2b06f;
- --agent: #2c2c2c;
- --agent-border: #484848;
+ --agent: #000000;
+ --agent-border: #6a6a6a;
--shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
+ --pre-bg: rgba(255, 255, 255, 0.08);
}
}
@@ -169,7 +171,7 @@
-.post .body pre { background: rgba(0,0,0,.05); padding: 10px; border-radius: 2px; overflow-x: auto; }
+.post .body pre { background: var(--pre-bg); padding: 10px; border-radius: 2px; overflow-x: auto; }
@@ -179,7 +181,7 @@
-details.diff pre { ...; background: rgba(0,0,0,.05); border-radius: 2px; overflow-x: auto; max-width: 100%; }
+details.diff pre { ...; background: var(--pre-bg); border-radius: 2px; overflow-x: auto; max-width: 100%; }
@@ -197,7 +199,8 @@
-button:hover:not(:disabled) { background: var(--accent-dark); }
+/* --accent and --accent-dark are both pure black/white now, so hover needs opacity to be visible. */
+button:hover:not(:disabled) { background: var(--accent-dark); opacity: .8; }Pull requests:threadide #23

