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

Add setting migrations for new theme system #2838

Merged

Conversation

RunDevelopment
Copy link
Member

Since there wasn't a way to migrate settings yet, I quickly added one. We can now have any number of settings migrations, and I added the migration to the new theme system to get us started. Migrations are also tested, so we can see the effect of every change we make to settings now.

@joeyballentine joeyballentine merged commit 070ce78 into chaiNNer-org:themes May 7, 2024
4 checks passed
@RunDevelopment RunDevelopment deleted the setting-migrations branch May 7, 2024 17:42
joeyballentine added a commit that referenced this pull request May 10, 2024
* Add charcoal theme

* Fix the themes

* auto theming

* fix broken theme things

* Recompute node headers when theme color changes

* Add some more themes

* Adjust some colors

* Separate dark and light mode selection

* Add two more themes

* Two more themes

* Combine into single list + remove system theme option

* Add setting migrations for new theme system (#2838)

* Update src/renderer/components/SettingsModal.tsx

Co-authored-by: Michael Schmidt <[email protected]>

* Update src/renderer/components/SettingsModal.tsx

Co-authored-by: Michael Schmidt <[email protected]>

* Add system theme

* change how colors get selected a bit

* Update src/common/settings/migration.ts

Co-authored-by: Michael Schmidt <[email protected]>

---------

Co-authored-by: Michael Schmidt <[email protected]>
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.

2 participants