Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows users to specify what colour palette they want the app to show in. For now, I've added a dark and light palette but I tried to make it as easy as possible for other contributors to add colour schemes.
I couldn't get my head around the Settings UI and wasn't sure how best to implement it even if I could, so I've set it to default to light and left the settings option for more experienced contributors to figure out. So long as there's a setting called
applicationPalette
, its value should be used in much the same way asstyle
to set the palette, and I've tested it by manually switching betweenthemes.light
andthemes.dark
and the palette works!Light palette:
![image](https://user-images.githubusercontent.com/25686106/209439997-6ad9f813-a757-43db-90c7-3a4ed3800373.png)
Dark palette:
![image](https://user-images.githubusercontent.com/25686106/209440009-93c72e97-7f85-461e-9842-e92e5c6ebaeb.png)