nomic-ai / gpt4all

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
https://nomic.ai/gpt4all
MIT License
68.96k stars 7.57k forks source link

Make font size & color scheme configurable for accessibility #986

Open willow385 opened 1 year ago

willow385 commented 1 year ago

Feature request

The UI should have an "accessibility" settings tab wherein the user can select their preferred font size and foreground/background color scheme.

Motivation

Some users have poor eyesight or sensory processing issues, and consequently require larger text or high-contrast color schemes. When I use the desktop chat.exe client, the font is a bit smaller than my eyes are comfortable reading, and the white text on a light gray background does not help with that. Would be nice if I could correct this in the app itself and not have to change settings in my DE/WM.

Your contribution

I do know some C++, but I haven't worked with Qt. I'd have to dive into learning that in order to propose a PR for this myself.

cosmic-snow commented 1 year ago

I think I already saw that request in some form.

Ah, see here: #488, #582 and #647 (at least the font thing in that last one, there was a problem with Markdown).

Not sure if there are more.

cosmic-snow commented 1 year ago

Ability to switch to a light theme was implemented in the meantime in fc1af4a234dd6573be59c9b5354df9b5dcd166cd and chat GUI v2.4.14 (09a143228c135ba54ff430369409867d3bdd9d62).

Slowlyness commented 1 year ago

Hi, Maybe this workaround helps you in the menatime (worked well for me): [https://github.com/nomic-ai/gpt4all/issues/488#issuecomment-1548906416]

I had to set it via PowerShell, due to restrictions on my laptop. Here's the code for it (adjust the path to chat.exe):

_$existingPath = [Environment]::GetEnvironmentVariable("PATH", "User") $newPaths = "C:\PathTo\chat.exe" $qtScaleFactor = "1.25" $newPath = $existingPath + ";$newPaths" [Environment]::SetEnvironmentVariable("PATH", $newPath, "User") [Environment]::SetEnvironmentVariable("QT_SCALEFACTOR", $qtScaleFactor, "User")