Skip to content

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
@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 <mitchi5000.ms@googlemail.com>

* Update src/renderer/components/SettingsModal.tsx

Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>

* Add system theme

* change how colors get selected a bit

* Update src/common/settings/migration.ts

Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>

---------

Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
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