Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for dark mode and a couple other things. #335

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Apr 8, 2022

  1. A preferences option to select dark or light mode was added. Dark mod…

    …e was made the default.
    
    Support was added for application-wide dark or light mode using qdarkstyle through qt stylesheets.
    
    The stylesheet doesn't affect the console component background colour, so I made it set light or dark background styles using its own, separate Jupyter styling according to the app theme.
    
    (The code editor's colours are alse immune to the stylesheet, but I left it untouched since its preferences-selectable syntax color schemes already include schemes with both light and dark backgrounds.
    
    The 3D viewer's colours are also impervious to stylesheets, I likewise left it untouched since its colours are already fully adjustable in the preferences).
    
    A command-line option '-r, --restore_defaults' to delete the file containing stored preferences was added.
    
    All instantiations of QApplication except one were made conditional on it not already having been instantiated.
    axhan committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    5c08747 View commit details
    Browse the repository at this point in the history
  2. Corrected error in README.md

    axhan committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    a0eb871 View commit details
    Browse the repository at this point in the history
  3. Added screenshot.

    axhan authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    0029339 View commit details
    Browse the repository at this point in the history
  4. Better screenshots.

    axhan authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    0261c6a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7743e37 View commit details
    Browse the repository at this point in the history