Skip to content

Conversation

@axhan
Copy link

@axhan axhan commented Apr 8, 2022

Screenshot from 2022-04-08 16-18-39
Screenshot from 2022-04-08 16-18-55

axhan and others added 5 commits April 8, 2022 15:47
…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.
@smurfix
Copy link
Contributor

smurfix commented Apr 8, 2024

You might want to add *~ to .gitignore while you're at it.

@jmwright
Copy link
Member

@axhan If you are still interested in advancing this PR, would you be able to scope it to just the dark theme changes? There seem to be a lot of unrelated changes in the log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants