News for hackers. Stuff that matters.

ChatGPT can't produce a code sample in a light theme

For close to half of the world's population who has a difficult time reading dark themes, ChatGPT is borderline useless. No amount of rewording the request fixes the issue. I'm about certain ChatGPT isn't cognizant of the appearance of the actual code sample window it is spitting code into.
( 9 comments | 2 points | on HN )
Re:ChatGPT can't produce a code sample in a light theme by jprd on Monday April 22, 2024 @05:10PM (#40120817)
I had no idea that dark themes were hard to read for people. I have "color blindness" and for me it is a panacea, I should have known it must be anathema to another cohort.
Re:ChatGPT can't produce a code sample in a light theme by harborsong on Monday April 22, 2024 @05:30PM (#40121292)
I have partial color blindness and glaucoma which I think aren't related to my inability to read dark themes. When I try to read white or light text on a dark background, something in my eyes start flashing and I develop a headache in less than 60 seconds, it's been like that my whole life.
Re:ChatGPT can't produce a code sample in a light theme by seanmcdirmid on Monday April 22, 2024 @05:31PM (#40121304)
it depends on the quality of your monitor and your lighting environment, many of which people can't control very much.
Re:ChatGPT can't produce a code sample in a light theme by LorenDB on Monday April 22, 2024 @04:41PM (#40120016)
ChatGPT is not capable of reworking site-level CSS. If it were, that would probably be classified as a security vulnerability. Your best bet is to complain to OpenAI or (if you are throwing money at a premium subscription) find a third-party client to use that has theming that you like.
Re:ChatGPT can't produce a code sample in a light theme by harborsong on Monday April 22, 2024 @04:55PM (#40120408)
It wouldn't be a vulnerability if we can request it to show its output in a legible theme, none that I can see, what am I missing?
Re:ChatGPT can't produce a code sample in a light theme by LorenDB on Monday April 22, 2024 @08:32PM (#40127194)
What you're asking for potentially involves ChatGPT to be able to arbitrarily manipulate page-level CSS, which could in theory be exploited for nefarious purposes, maybe by a system prompt from the ChatGPT store.
Re:ChatGPT can't produce a code sample in a light theme by uberman on Monday April 22, 2024 @04:58PM (#40120509)
If you are willing to install a browser plugin like tampermonkey you would be able to update the default color and background to something you like.
Re:ChatGPT can't produce a code sample in a light theme by harborsong on Monday April 22, 2024 @05:26PM (#40121229)
That would work but, I run no browser extensions.
Re:ChatGPT can't produce a code sample in a light theme by lobito14 on Monday April 22, 2024 @11:45PM (#40128247)
I really dislike dark themes, I've difficulty reading after a small amount of time. It's really a dumb trend.