Skip to content

[ Enhancement] High Contrast Themes for PySimpleGUI #6628

@fclorenzo

Description

@fclorenzo

Type of Issue (Enhancement, Error, Bug, Question)

Enhancement


Operating System

Windows 11

PySimpleGUI Port (tkinter, Qt, Wx, Web)

Wx


Versions

Version information can be obtained by calling sg.main_get_debug_data()
Or you can print each version shown in ()

Python version (sg.sys.version)

Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64bit (AMD64)]

PySimpleGUI Version (sg.__version__)

4.60.5

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

4.2.1


Your Experience In Months or Years (optional)

Years Python programming experience
About 4 Months I guess...
Years Programming experience overall
About 2.5 years now
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
Nope
Anything else you think would be helpful?
Just to say that I'm in love with PySimpleGUI. Even someone who is totally blind can do good guis lol. Congrats for the awesome job!


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • None of your GUI code was generated by an AI algorithm like GPT
  • If not tkinter - looked for Demo Programs for specific port
  • For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • Run your program outside of your debugger (from a command line)
  • Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

It's just that. While looking through the list of themes, I thought it would be a nice idea to have some high contrast theme options to make it easier for devs to make their programs more accessible to everyone.
A random article I found on the web (probably not necessary but anyway) about the topic:
https://uxdesign.cc/high-contrast-when-you-think-the-dark-mode-is-enough-d190218d4bba

Anyway, I hope this contribution will be useful somehow and will help devs create accessible apps really easy.

Code To Duplicate

A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)

This pre-formatted code block is all set for you to paste in your bit of code:

# Paste your code here

There's no relevant code to show i guess...

Screenshot, Sketch, or Drawing


Watcha Makin?

If you care to share something about your project, it would be awesome to hear what you're building.
Just a chess client...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions